/* ===================================================================
   TAJIR Cloud — Landing Page
   Token desain: kertas kasir thermal — kertas off-white, tinta hijau
   gelap, aksen hijau brand + stempel oranye-bata, tipografi Space
   Grotesk (judul) / Plus Jakarta Sans (isi) / JetBrains Mono (angka).
   =================================================================== */

:root {
  --paper: #F4F5F0;
  --ink: #14211B;
  --ink-soft: #5B6960;
  --accent: #1D9E75;
  --accent-deep: #0E6B4C;
  --accent-bg: #E1F0E9;
  --stamp: #C2410C;
  --line: #DBDFD5;
  --surface: #FFFFFF;
  --radius-card: 16px;
  --shadow-card: 0 20px 50px -28px rgba(20, 33, 27, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ---------- Eyebrow / label kecil bergaya mono ---------- */
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 34px; line-height: 1.2; }
.section-sub { color: var(--ink-soft); font-size: 16px; margin-top: 12px; }

/* ===================================================================
   NAV
   =================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 245, 240, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand em { font-style: normal; color: var(--accent-deep); }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 24px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { padding: 64px 0 0; overflow: hidden; }

.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-deep);
  background: var(--accent-bg);
  border: 1px solid #C7E5D8;
  padding: 7px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent-deep); }

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-primary.large { padding: 18px 32px; font-size: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 16px 26px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease;
}
.btn-outline:hover { border-color: var(--ink); }

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-meta svg { color: var(--accent); flex-shrink: 0; }

.hero-banner {
  width: 100%;
  background: linear-gradient(180deg, #0F6B4C 0%, #0A4A35 100%);
  padding: 48px 32px 56px;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

/* ===================================================================
   USAHA STRIP
   =================================================================== */
.usaha-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.usaha-label {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 24px;
}
.usaha-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.usaha-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 100px;
}
.usaha-item svg { color: var(--accent-deep); flex-shrink: 0; }

/* ===================================================================
   FITUR UNGGULAN — showcase alternating
   =================================================================== */
.fitur-unggulan { padding: 100px 0 60px; }

.showcase-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }
.showcase-row:last-child { margin-bottom: 0; }

.showcase-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.showcase-img img { width: 100%; height: auto; }

.showcase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.showcase-text h3 {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.showcase-text p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 420px;
}

/* ===================================================================
   FITUR GRID (ringkas)
   =================================================================== */
.fitur-grid-section { padding: 60px 0 100px; }

.fitur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fitur-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.fitur-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.fitur-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.fitur-card h4 { font-size: 15px; margin-bottom: 6px; }
.fitur-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ===================================================================
   HARGA — kartu berbentuk struk (signature element)
   =================================================================== */
.harga { padding: 60px 0 100px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.harga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--paper);
  padding: 36px 30px 32px;
  border: 1px solid var(--line);
  clip-path: polygon(
    0% 1.2%, 4% 0%, 8% 1.2%, 12% 0%, 16% 1.2%, 20% 0%, 24% 1.2%, 28% 0%, 32% 1.2%, 36% 0%, 40% 1.2%, 44% 0%, 48% 1.2%, 52% 0%, 56% 1.2%, 60% 0%, 64% 1.2%, 68% 0%, 72% 1.2%, 76% 0%, 80% 1.2%, 84% 0%, 88% 1.2%, 92% 0%, 96% 1.2%, 100% 0%,
    100% 100%,
    96% 98.8%, 92% 100%, 88% 98.8%, 84% 100%, 80% 98.8%, 76% 100%, 72% 98.8%, 68% 100%, 64% 98.8%, 60% 100%, 56% 98.8%, 52% 100%, 48% 98.8%, 44% 100%, 40% 98.8%, 36% 100%, 32% 98.8%, 28% 100%, 24% 98.8%, 20% 100%, 16% 98.8%, 12% 100%, 8% 98.8%, 4% 100%, 0% 98.8%
  );
}

.price-card-wrap {
  position: relative;
}
.price-card-wrap.featured {
  transform: scale(1.04);
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(16, 27, 46, 0.25));
}

.price-card.featured {
  background: var(--surface);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--stamp);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 5px;
  white-space: nowrap;
}

.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; min-height: 40px; }

.price-tag { margin-bottom: 22px; }
.price-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
}
.price-per {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.btn-price {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 26px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-price:hover { background: var(--ink); color: var(--paper); }
.btn-price.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-price.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-list li b { color: var(--ink); font-weight: 600; }

.harga-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 40px;
}
.harga-note a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; }

/* ===================================================================
   TESTIMONI
   =================================================================== */
.testimoni { padding: 100px 0; }

.testimoni-note {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--stamp);
  background: #FBEAE2;
  border: 1px dashed var(--stamp);
  max-width: 480px;
  margin: -20px auto 44px;
  padding: 10px 16px;
  border-radius: 8px;
}

.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}

.testi-stars { color: var(--stamp); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }

.testi-card p { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 22px; }

.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testi-person b { display: block; font-size: 13.5px; font-weight: 600; }
.testi-person span { display: block; font-size: 12px; color: var(--ink-soft); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq { padding: 100px 0 100px; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-deep);
  transition: transform 0.2s ease;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-bottom: 20px;
}
.faq-item p b { color: var(--ink); font-weight: 600; }
.faq-item p a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; }

/* ===================================================================
   CTA AKHIR
   =================================================================== */
.cta-akhir {
  background: var(--ink);
  padding: 90px 0;
}
.cta-inner { text-align: center; }
.cta-akhir h2 { color: var(--paper); font-size: 32px; margin-bottom: 14px; }
.cta-akhir p { color: #A9B5AE; font-size: 16px; margin-bottom: 32px; }
.cta-akhir .btn-primary { background: var(--accent); }
.cta-akhir .btn-primary:hover { background: var(--accent-deep); }

/* ===================================================================
   FOOTER
   =================================================================== */
footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p { font-size: 14px; color: var(--ink-soft); margin: 16px 0 20px; max-width: 280px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { color: var(--accent-deep); border-color: var(--accent); }

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-col svg { color: var(--accent-deep); flex-shrink: 0; }
.footer-address { color: var(--ink-soft) !important; align-items: flex-start !important; }
.footer-address svg { margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--ink-soft); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .btn-nav-cta span { display: none; }

  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-meta { gap: 14px 20px; }

  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; margin-bottom: 64px; }
  .showcase-text p { max-width: none; }

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

  .harga-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .price-card-wrap.featured { transform: none; }

  .testimoni-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero-banner { padding: 32px 20px 40px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 30px; }
  .fitur-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
}

/* ---------- Menu mobile terbuka ---------- */
@media (max-width: 860px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px;
    gap: 18px;
  }
  .nav-burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.active span:nth-child(2) { opacity: 0; }
  .nav-burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-burger span { transition: transform 0.2s ease, opacity 0.2s ease; }
}

/* ---------- Reveal saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
