/* ===== KasirKita Landing Page v2 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0ea371;
  --primary-dark: #0b8a61;
  --primary-light: #d1fae5;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.brand-logo { font-size: 1.5rem; }
.brand-logo-img { width: 30px; height: 30px; border-radius: 24%; box-shadow: 0 4px 12px rgba(22, 163, 74, .3); vertical-align: -7px; margin-right: 2px; }
.brand-accent { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 12px; transition: all .2s; cursor: pointer; border: none; text-align: center; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(14,163,113,.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14,163,113,.4); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.65); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.btn[disabled] { background: #94a3b8; box-shadow: none; transform: none !important; cursor: not-allowed; }

/* Badge */
.badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; letter-spacing: .3px; }
.badge-free {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  color: #92400e; animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Hero */
.hero { padding: 150px 0 90px; background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.gradient-text { background: linear-gradient(90deg, #0ea371, #10b981, #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 20px 0 30px; color: var(--muted); font-size: 1.1rem; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.stat span { color: var(--muted); font-size: .85rem; }

/* Phone mock */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mock { position: relative; }
.phone-screen {
  width: 260px; border-radius: 36px; background: #0f172a; padding: 10px;
  box-shadow: var(--shadow-lg); border: 4px solid #1e293b;
}
.ps-img { width: 100%; display: block; border-radius: 26px; }
.float-chip {
  position: absolute; background: #fff; border-radius: 12px; padding: 8px 14px;
  font-size: .78rem; font-weight: 700; box-shadow: var(--shadow); animation: float 3.5s ease-in-out infinite;
}
.chip-1 { top: 30px; left: -70px; }
.chip-2 { bottom: 50px; right: -70px; animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee gratis */
.free-marquee {
  background: linear-gradient(90deg, #0b8a61, #0ea371, #14b8a6);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span { color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .5px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.4px; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a7f3d0; }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .93rem; }

/* Screenshot gallery */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 28px 22px 26px; text-align: center; transition: all .25s;
}
.shot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a7f3d0; }
.shot-frame {
  width: 190px; margin: 0 auto 18px; background: #0f172a; border: 4px solid #1e293b;
  border-radius: 30px; padding: 8px; box-shadow: var(--shadow);
}
.shot-frame img { width: 100%; display: block; border-radius: 22px; }
.shot-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.shot-card p { color: var(--muted); font-size: .88rem; }

/* Pricing */
.pricing-grid { display: flex; justify-content: center; }
.pricing-card {
  position: relative; max-width: 460px; width: 100%; background: #fff;
  border: 2px solid var(--primary); border-radius: 24px; padding: 44px 40px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #fff;
  font-weight: 800; font-size: .75rem; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245,158,11,.4); letter-spacing: .5px;
}
.pricing-icon { font-size: 3rem; margin-bottom: 8px; }
.pricing-card h3 { font-weight: 800; font-size: 1.3rem; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--primary-dark); margin: 12px 0 20px; }
.pricing-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pricing-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li { color: var(--ink); font-weight: 600; font-size: .97rem; }
.pricing-cta { width: 100%; }
.pricing-note { margin-top: 14px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.harga-guarantee {
  max-width: 640px; margin: 36px auto 0; text-align: center; color: var(--muted);
  background: var(--primary-light); border: 1px dashed var(--primary);
  padding: 16px 24px; border-radius: 14px; font-size: .95rem;
}
.harga-guarantee strong { color: var(--primary-dark); }

/* Testimoni */
.testimoni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimoni-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: all .25s;
}
.testimoni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }
.testimoni-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.testi-user strong { display: block; font-size: .92rem; }
.testi-user span { color: var(--muted); font-size: .8rem; }

/* FAQ */
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.active { border-color: var(--primary); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: inherit; font-size: 1rem; font-weight: 700;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
}
.faq-arrow { transition: transform .3s; color: var(--primary); font-size: 1.1rem; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--muted); font-size: .95rem; }

/* Download */
.download-section { background: linear-gradient(180deg, #ffffff, #ecfdf5); }
.download-card {
  max-width: 860px; margin: 0 auto; background: #fff; border-radius: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.dl-android { padding: 48px 36px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.dl-free-ribbon {
  display: inline-block; background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #fff;
  font-weight: 800; font-size: .75rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  letter-spacing: .5px;
}
.dl-logo { margin-bottom: 10px; }
.dl-logo img { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 8px 24px rgba(22, 163, 74, .35); }
.dl-android h3 { font-weight: 800; font-size: 1.3rem; }
.dl-ver { color: var(--muted); font-size: .9rem; margin: 6px 0 24px; }
.dl-size { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.dl-status { margin-top: 6px; font-size: .85rem; font-weight: 700; color: #f59e0b; }
.dl-note { padding: 44px 36px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 24px; }
.dl-note h4 { font-weight: 800; margin-bottom: 12px; }
.dl-note ol { padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; font-size: .93rem; }
.dl-note li b { color: var(--ink); }
.dl-contact p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }

/* CTA */
.cta { background: linear-gradient(135deg, #0b8a61, #0ea371 50%, #14b8a6); padding: 80px 0; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 30px; }
.cta-inner .btn + .btn { margin-left: 12px; }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: 10px; max-width: 240px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 6px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-copy { text-align: center; font-size: .8rem; border-top: 1px solid #1e293b; padding-top: 24px; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 1.2rem; font-weight: 800;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-chip { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .feature-grid, .testimoni-grid, .shot-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .chip-1 { left: -10px; } .chip-2 { right: -10px; }
  .hide-desktop { display: none; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px; gap: 18px; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .feature-grid, .testimoni-grid, .shot-grid, .download-card, .footer-top { grid-template-columns: 1fr; }
  .dl-android { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats { gap: 22px; }
  .pricing-card { padding: 36px 24px; }
}
