/* ==========================================================================
   Pos Laundry — Landing Page & Privacy Policy
   Vanilla CSS, no build step.
   Brand: blue #1565C0 (matches app logo)
   ========================================================================== */

:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #e3f2fd;
  --accent: #42a5f5;
  --teal: #018786;
  --ink: #10263f;
  --ink-soft: #4a5d73;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --border: #e3ecf5;
  --white: #ffffff;
  --shadow-sm:
    0 1px 3px rgba(16, 38, 63, 0.08), 0 1px 2px rgba(16, 38, 63, 0.06);
  --shadow-md: 0 6px 18px rgba(16, 38, 63, 0.1);
  --shadow-lg: 0 18px 40px rgba(13, 71, 161, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1140px;
  --font:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

/* Variant untuk latar berwarna (mis. CTA biru) */
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: var(--white);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      1000px 500px at 85% -10%,
      rgba(66, 165, 245, 0.18),
      transparent 60%
    ),
    radial-gradient(
      800px 420px at 0% 20%,
      rgba(21, 101, 192, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(21, 101, 192, 0.08) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding-block: 88px 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p.lead {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: 300px;
  background: #0b1524;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-screen {
  background: #f4f8fd;
  border-radius: 32px;
  overflow: hidden;
  padding: 20px 16px 24px;
}

.phone-notch {
  width: 90px;
  height: 22px;
  background: #0b1524;
  border-radius: 0 0 12px 12px;
  margin: -20px auto 16px;
}

.phone h3 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.phone .sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.mock-card .label {
  font-size: 0.65rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.mock-card .value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.mock-row .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
}

.mock-row .txt {
  flex: 1;
  min-width: 0;
}

.mock-row .txt strong {
  display: block;
  font-size: 0.72rem;
}

.mock-row .txt span {
  font-size: 0.62rem;
  color: var(--ink-soft);
}

.mock-row .price {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal);
}

.badge-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 5s ease-in-out infinite;
}

.badge-float .ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.7rem;
}

.badge-1 {
  top: 6%;
  left: -8%;
}

.badge-2 {
  bottom: 10%;
  right: -6%;
  animation-delay: 2.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
.section {
  padding-block: 88px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
}

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

.bg-soft {
  background: var(--bg-soft);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  padding-top: 20px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.step h4 {
  font-weight: 800;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Security band
   -------------------------------------------------------------------------- */
.security-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
}

.security-item {
  text-align: center;
}

.security-item .ico {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.security-item strong {
  display: block;
  margin-bottom: 4px;
}

.security-item p {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  background:
    radial-gradient(
      700px 320px at 50% -40%,
      rgba(66, 165, 245, 0.35),
      transparent 60%
    ),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
}

.cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 28px;
}

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

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding-block: 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Privacy Policy page
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(
      800px 380px at 80% -10%,
      rgba(66, 165, 245, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  padding-block: 64px 48px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 640px;
}

.legal {
  max-width: 800px;
  margin-inline: auto;
  padding-block: 56px 88px;
}

.legal .updated {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 34px 0 12px;
  scroll-margin-top: 96px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 1rem;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal a {
  font-weight: 600;
}

.legal .note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.95rem;
  margin: 18px 0;
}

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

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 56px 72px;
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .badge-1 {
    left: 0;
  }

  .badge-2 {
    right: 0;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: var(--bg-soft);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

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

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

  .security-band {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding-block: 64px;
  }

  .badge-float {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
