/* ZeroPanel landing — theme zero index (scoped) */
:root {
  --zp-status-h: 40px;
  --zp-nav-h: 60px;
  --zp-top: calc(var(--zp-status-h) + var(--zp-nav-h));
  --zp-primary: #0d6efd;
  --zp-primary-dark: #0a58ca;
  --zp-zalo: #0068ff;
  --zp-zalo-soft: #e8f2ff;
  --zp-text: #1a1a2e;
  --zp-muted: #5c5c76;
  --zp-border: #e8e8ef;
  --zp-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
}

body.zp-landing {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--zp-text);
  padding-top: var(--zp-top);
  background: #fafbfc;
}

.zp-status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: var(--zp-status-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  font-size: 0.8125rem;
  background: #f8f9fb;
  border-bottom: 1px solid var(--zp-border);
  color: var(--zp-muted);
}

.zp-status-bar__inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zp-status-bar strong {
  color: var(--zp-text);
  font-weight: 600;
}

.zp-nav {
  position: fixed;
  top: var(--zp-status-h);
  left: 0;
  right: 0;
  z-index: 1030;
  height: var(--zp-nav-h);
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: var(--zp-shadow);
  border-bottom: 1px solid var(--zp-border);
}

.zp-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.zp-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--zp-text);
  text-decoration: none;
  white-space: nowrap;
}

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

.zp-nav__toggle {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  display: none;
}

@media (max-width: 991px) {
  .zp-nav__toggle {
    display: block;
  }
}

.zp-nav__collapse {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 991px) {
  .zp-nav__collapse {
    display: none;
    position: absolute;
    top: var(--zp-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 1rem;
    box-shadow: var(--zp-shadow);
    border-bottom: 1px solid var(--zp-border);
  }

  .zp-nav__collapse.is-open {
    display: flex;
  }
}

.zp-nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .zp-nav__links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.zp-nav__links a {
  color: var(--zp-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.zp-nav__links a:hover {
  color: var(--zp-primary);
}

.zp-btn-zalo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--zp-zalo-soft);
  color: var(--zp-zalo);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid #cce0ff;
}

.zp-btn-zalo:hover {
  background: #d9e9ff;
  color: #0047b3;
}

.zp-btn-login {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--zp-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 0;
}

.zp-btn-login:hover {
  background: var(--zp-primary-dark);
  color: #fff !important;
}

.zp-section {
  padding: 4rem 1rem;
}

.zp-section--tight {
  padding-top: 2.5rem;
}

.zp-hero {
  padding: 3rem 1rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%);
}

.zp-hero .container {
  max-width: 720px;
}

.zp-app-icons-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.zp-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--zp-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.zp-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--zp-text);
}

.zp-hero .zp-sub {
  font-size: 1.0625rem;
  color: var(--zp-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.zp-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--zp-border);
  font-size: 0.9rem;
  color: var(--zp-muted);
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.zp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.zp-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--zp-primary);
  color: #fff;
  text-decoration: none;
  border: 0;
  min-width: 200px;
}

.zp-btn-primary-lg:hover {
  background: var(--zp-primary-dark);
  color: #fff;
}

.zp-btn-zalo-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  color: var(--zp-zalo);
  text-decoration: none;
  border: 2px solid var(--zp-zalo);
  min-width: 200px;
}

.zp-btn-zalo-lg:hover {
  background: var(--zp-zalo-soft);
}

.zp-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .zp-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.zp-app-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid var(--zp-border);
  box-shadow: var(--zp-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zp-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.1);
}

.zp-app-card__emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.zp-app-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.zp-app-card p {
  font-size: 0.875rem;
  color: var(--zp-muted);
  margin: 0;
}

.zp-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.zp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .zp-steps {
    grid-template-columns: 1fr;
  }
}

.zp-step {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--zp-border);
  box-shadow: var(--zp-shadow);
}

.zp-step__num {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.zp-step p {
  margin: 0;
  font-weight: 600;
  color: var(--zp-text);
}

.zp-pricing-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.zp-pricing-head p {
  color: var(--zp-muted);
  margin: 0;
}

.zp-pricing-toggle .nav-pills .nav-link {
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  color: var(--zp-muted);
}

.zp-pricing-toggle .nav-pills .nav-link.active {
  background: var(--zp-primary);
  color: #fff;
}

.zp-pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.zp-plan-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  height: 100%;
  border: 2px solid var(--zp-border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.zp-plan-card--highlight {
  border-color: var(--zp-primary);
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.15);
}

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

.zp-plan-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.zp-plan-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--zp-primary);
  margin-bottom: 1rem;
}

.zp-plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.zp-plan-card li {
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--zp-muted);
}

.zp-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #198754;
  font-weight: 700;
}

.zp-plan-card .zp-plan-meta {
  font-size: 0.85rem;
  color: var(--zp-muted);
  margin-bottom: 1rem;
}

.zp-zalo-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8f2ff 0%, #d4e8ff 100%);
  text-align: center;
  border: 1px solid #b8d4ff;
}

.zp-zalo-section__icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.zp-zalo-section h3 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.zp-zalo-section p {
  color: var(--zp-muted);
  margin-bottom: 1.25rem;
}

.zp-btn-zalo-big {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--zp-zalo);
  color: #fff !important;
  text-decoration: none;
}

.zp-btn-zalo-big:hover {
  background: #0056d6;
  color: #fff !important;
}

.zp-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .zp-reviews {
    grid-template-columns: 1fr;
  }
}

.zp-review {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--zp-border);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--zp-text);
  box-shadow: var(--zp-shadow);
}

.zp-support-bar {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--zp-border);
  box-shadow: var(--zp-shadow);
}

.zp-support-bar h3 {
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.zp-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.zp-support-actions a {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.zp-support-actions .zp-sa-zalo {
  background: var(--zp-zalo-soft);
  color: var(--zp-zalo);
  border: 2px solid var(--zp-zalo);
}

.zp-support-actions .zp-sa-ticket {
  background: var(--zp-text);
  color: #fff;
}

.zp-support-actions .zp-sa-ticket:hover {
  color: #fff;
  opacity: 0.92;
}

.zp-footer {
  padding: 2.5rem 1rem 6rem;
  background: #1a1a2e;
  color: #a0a0b8;
  text-align: center;
}

.zp-footer__brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
}

.zp-footer__tag {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9rem;
}

.zp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.zp-footer__links a {
  color: #c8c8dd;
  font-size: 0.875rem;
}

.zp-footer__links a:hover {
  color: #fff;
}

.zp-footer__copy {
  font-size: 0.8rem;
  opacity: 0.85;
}

.zp-footer__lang a {
  color: #b8b8d4;
  text-decoration: none;
  font-size: 0.875rem;
}

.zp-footer__lang a:hover {
  color: #fff;
}

.zp-footer__lang-sep {
  opacity: 0.55;
  color: #8888a8;
}

.zp-fab-zalo {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--zp-zalo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.45);
  font-size: 1.6rem;
  transition: transform 0.15s ease;
}

.zp-fab-zalo:hover {
  color: #fff;
  transform: scale(1.06);
}

.zp-fab-zalo[title]:hover::after {
  content: attr(title);
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 520px) {
  .zp-status-bar__inner {
    font-size: 0.72rem;
  }
}
