/* ============================================================
   Buku Kasir Landing — Shared Styles
   Include in every page via layouts/app.blade.php
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #16202b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #0e7c6b; text-decoration: none; }
a:hover { color: #0a5c4f; }

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

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2f6;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
  gap: 16px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #16202b;
}

.site-nav__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0e7c6b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-nav__name {
  font-size: 19px;
  font-weight: 800;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__links a {
  color: #3d4b58;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s;
}

.site-nav__links a:hover {
  color: #0e7c6b;
}

.site-nav__links a.is-active {
  color: #0e7c6b;
}

/* Nav CTA button */
.site-nav__cta {
  background: #0e7c6b;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
}

.site-nav__cta:hover {
  background: #0a5c4f;
}

/* Mobile nav */
.site-nav__mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

.site-nav__mobile-cta {
  background: #0e7c6b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.hamburger {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #16202b;
  border-radius: 2px;
}

#mobileMenu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  flex-direction: column;
  padding: 24px 32px;
  gap: 20px;
  overflow-y: auto;
}

#mobileMenu a {
  font-size: 18px;
  font-weight: 600;
  color: #3d4b58;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
}

#mobileMenu a:hover {
  color: #0e7c6b;
}

#mobileMenu .mobile-cta {
  background: #0e7c6b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 0;
  border-radius: 10px;
  text-align: center;
  margin-top: 8px;
  border-bottom: none;
}

@media (max-width: 768px) {
  .site-nav__links { display: none !important; }
  .site-nav__mobile { display: flex !important; }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #eef2f6;
  padding: 40px 32px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0e7c6b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer__name {
  font-size: 15px;
  font-weight: 700;
  color: #16202b;
}

.site-footer__copy {
  font-size: 14px;
  color: #5b6b7a;
}

.site-footer__copy a {
  font-weight: 600;
  color: #0e7c6b;
}

/* ── Buttons (shared) ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  min-height: 54px;
  box-sizing: border-box;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn--primary {
  background: #0e7c6b;
  color: #fff;
  padding: 23px 28px;
}

.btn--primary:hover {
  background: #0a5c4f;
  color: #fff;
}

.btn--dark {
  background: #16202b;
  color: #fff;
  padding: 10px 16px 10px 12px;
}

.btn--ghost {
  background: #eef2f6;
  color: #16202b;
  padding: 15px 28px;
}

.btn--white {
  background: #fff;
  color: #0e7c6b;
  padding: 23px 28px;
}

.btn--cta {
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn--cta:hover { opacity: 0.9; }

.btn--cta-green {
  background: #0e7c6b;
  color: #fff;
}

.btn--cta-ghost {
  background: #eef2f6;
  color: #16202b;
}

/* APK download button */
.btn-apk {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #16202b;
  color: #fff;
  padding: 10px 16px 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  min-height: 54px;
  box-sizing: border-box;
}

.btn-apk__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-apk__label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.btn-apk__name {
  font-size: 16px;
  font-weight: 800;
}

.btn-apk__sub {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
}

/* ── CTA Banner (shared) ─────────────────────────────────── */
.cta-banner {
  background: #0e7c6b;
  border-radius: 28px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner__title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}

.cta-banner__desc {
  font-size: 16px;
  color: #dff2ee;
  margin-top: 12px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner { padding: 40px 24px; }
}

/* ── Section Headers ─────────────────────────────────────── */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: #0e7c6b;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin: 10px 0 0;
  text-wrap: balance;
}

/* ── Responsive (shared) ─────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
}
