/* =========================================================
   PanelBot.id — Modern Landing Page (Dark SaaS)
   Scoped under .pb-landing to avoid clashing with legacy CSS
   ========================================================= */

.pb-landing {
  /* Palette */
  --primary: #0ea5e9;
  --primary-2: #2563eb;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg-900: #09090b;
  --bg-800: #111827;
  --bg-700: #18181b;
  --card: #1f2937;

  --text: #ffffff;
  --text-muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --gradient: linear-gradient(135deg, var(--primary), var(--primary-2));
  --gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.15));

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.35);

  --container: 1200px;
  --nav-h: 72px;

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pb-landing *,
.pb-landing *::before,
.pb-landing *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset host page defaults */
html:has(.pb-landing),
body:has(.pb-landing) {
  margin: 0;
  padding: 0;
  background: #09090b;
  scroll-behavior: smooth;
}

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

.pb-landing a {
  text-decoration: none;
  color: inherit;
}

.pb-landing ul {
  list-style: none;
}

.pb-container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Section rhythm */
.pb-section {
  padding: 96px 0;
  position: relative;
}

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

.pb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pb-section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pb-section-head p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 1.05rem;
}

.pb-gradient-text {
  background: linear-gradient(120deg, #38bdf8, #60a5fa, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== Buttons ===================== */
.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.pb-btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.pb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.55);
}

.pb-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.pb-btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.pb-btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.pb-btn-block {
  width: 100%;
}

/* Ripple */
.pb-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: pb-ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes pb-ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ===================== Navbar ===================== */
.pb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.pb-nav.scrolled {
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.pb-nav .pb-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.pb-logo img {
  width: 32px;
  height: 32px;
}

.pb-nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.pb-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.pb-nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.pb-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.pb-nav-links a:hover::after {
  width: 100%;
}

.pb-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ===================== Background FX ===================== */
.pb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.pb-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ===================== Hero ===================== */
.pb-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 90px;
  overflow: hidden;
}

.pb-hero .pb-glow-1 {
  width: 520px;
  height: 520px;
  background: #0ea5e9;
  top: -140px;
  left: -120px;
}

.pb-hero .pb-glow-2 {
  width: 460px;
  height: 460px;
  background: #2563eb;
  top: -60px;
  right: -120px;
  opacity: 0.4;
}

.pb-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.pb-badge .pb-badge-tag {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.pb-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.pb-hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin: 22px 0 34px;
  max-width: 520px;
}

.pb-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pb-hero-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pb-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pb-stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.pb-rating small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pb-avatars {
  display: flex;
  align-items: center;
}

.pb-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-900);
  margin-left: -10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.pb-avatars span:first-child {
  margin-left: 0;
}

.pb-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pb-pulse 2s infinite;
}

@keyframes pb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero visual */
.pb-hero-visual {
  position: relative;
}

.pb-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #1f2937, #111827);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.pb-hero-visual:hover .pb-mockup {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.pb-mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.pb-mockup-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.pb-mockup-bar i:nth-child(1) { background: #ef4444; }
.pb-mockup-bar i:nth-child(2) { background: #f59e0b; }
.pb-mockup-bar i:nth-child(3) { background: #22c55e; }

.pb-mockup img {
  width: 100%;
  height: auto;
}

.pb-float-card {
  position: absolute;
  background: rgba(31, 41, 55, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pb-float 5s ease-in-out infinite;
}

.pb-float-card .pb-fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.pb-float-card b {
  display: block;
  font-size: 0.95rem;
}

.pb-float-card small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.pb-float-1 {
  top: 24px;
  left: -34px;
}
.pb-float-1 .pb-fc-icon { background: rgba(34, 197, 94, 0.18); color: #22c55e; }

.pb-float-2 {
  bottom: 30px;
  right: -30px;
  animation-delay: 1.5s;
}
.pb-float-2 .pb-fc-icon { background: rgba(37, 99, 235, 0.2); color: #38bdf8; }

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

/* ===================== Marquee / Social proof ===================== */
.pb-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.pb-proof-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.pb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pb-stat {
  text-align: center;
  padding: 10px;
}

.pb-stat-num {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pb-stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* ===================== Features ===================== */
.pb-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pb-card {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.6), rgba(24, 24, 27, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.pb-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.pb-card:hover::before {
  opacity: 1;
}

.pb-card > * {
  position: relative;
  z-index: 1;
}

.pb-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.pb-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pb-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ===================== How it works ===================== */
.pb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.pb-step {
  text-align: center;
  position: relative;
  padding: 12px;
}

.pb-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: #7dd3fc;
  position: relative;
  z-index: 1;
}

.pb-step-num {
  position: absolute;
  top: -6px;
  right: calc(50% - 46px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.pb-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pb-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pb-steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}

/* ===================== Preview / Benefit ===================== */
.pb-preview-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #1f2937, #0f1420);
  box-shadow: var(--shadow), 0 0 80px rgba(14, 165, 233, 0.2);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.pb-preview-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pb-benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.pb-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pb-benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pb-check {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.pb-benefit-item h4 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.pb-benefit-item p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.pb-benefit-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===================== Pricing ===================== */
.pb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pb-price-card {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.6), rgba(24, 24, 27, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pb-price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.pb-price-card.popular {
  border-color: rgba(14, 165, 233, 0.6);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.15), rgba(24, 24, 27, 0.6));
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.25);
}

.pb-popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.pb-price-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pb-price-value {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 14px 0 4px;
  letter-spacing: -0.02em;
}

.pb-price-value span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pb-price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 28px;
  flex: 1;
}

.pb-price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #d4d4d8;
}

.pb-price-features li i {
  font-size: 0.9rem;
}

.pb-price-features li .yes { color: var(--success); }
.pb-price-features li .no { color: #52525b; }
.pb-price-features li.muted { color: #71717a; }

/* ===================== Testimonials ===================== */
.pb-testi-viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pb-testi-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: pb-scroll 42s linear infinite;
}

.pb-testi-viewport:hover .pb-testi-track {
  animation-play-state: paused;
}

@keyframes pb-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pb-testi-card {
  width: 360px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.6), rgba(24, 24, 27, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.pb-testi-card p {
  color: #e4e4e7;
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.pb-testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-testi-user .pb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.pb-testi-user b {
  display: block;
  font-size: 0.95rem;
}

.pb-testi-user small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===================== FAQ ===================== */
.pb-faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pb-faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(31, 41, 55, 0.4);
  overflow: hidden;
  transition: border-color 0.2s;
}

.pb-faq-item.open {
  border-color: var(--border-strong);
}

.pb-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.pb-faq-q i {
  transition: transform 0.3s ease;
  color: #7dd3fc;
  flex-shrink: 0;
}

.pb-faq-item.open .pb-faq-q i {
  transform: rotate(45deg);
}

.pb-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.pb-faq-a p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===================== Final CTA ===================== */
.pb-cta {
  position: relative;
  overflow: hidden;
}

.pb-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.45);
  overflow: hidden;
}

.pb-cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15), transparent 40%);
  pointer-events: none;
}

.pb-cta-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
}

.pb-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 16px auto 32px;
  position: relative;
}

.pb-cta-inner .pb-btn-primary {
  background: #fff;
  color: #0ea5e9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pb-cta-inner .pb-btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.pb-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===================== Footer ===================== */
.pb-footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  background: var(--bg-900);
}

.pb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.pb-footer-brand p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 16px 0 22px;
  max-width: 320px;
}

.pb-footer .pb-logo {
  font-size: 1.2rem;
}

.pb-social {
  display: flex;
  gap: 12px;
}

.pb-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.pb-social a:hover {
  color: #fff;
  background: var(--gradient);
  transform: translateY(-3px);
  border-color: transparent;
}

.pb-footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.pb-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pb-footer-col a,
.pb-footer-col li {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.pb-footer-col a:hover {
  color: #fff;
}

.pb-footer-bottom {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===================== Reveal animation ===================== */
.pb-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pb-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  .pb-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pb-hero-sub { max-width: 100%; }
  .pb-hero-visual { max-width: 520px; margin: 0 auto; }
  .pb-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-steps { grid-template-columns: repeat(2, 1fr); }
  .pb-steps::before { display: none; }
  .pb-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-benefit { grid-template-columns: 1fr; gap: 40px; }
  .pb-footer-grid { grid-template-columns: 1fr 1fr; }
  .pb-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .pb-section { padding: 72px 0; }
  .pb-nav-menu { display: none; }
  .pb-menu-btn { display: flex; }

  .pb-nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 5%;
  }

  .pb-nav-menu.open .pb-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .pb-nav-menu.open .pb-nav-links a {
    padding: 12px 8px;
    border-radius: 8px;
  }

  .pb-nav-menu.open .pb-nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
  }

  .pb-nav-menu.open .pb-btn { width: 100%; }

  .pb-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .pb-float-card { display: none; }
  .pb-mockup { transform: none; }
}

@media (max-width: 520px) {
  .pb-feature-grid,
  .pb-pricing-grid,
  .pb-steps { grid-template-columns: 1fr; }
  .pb-footer-grid { grid-template-columns: 1fr; }
  .pb-hero-meta { gap: 18px; }
  .pb-testi-card { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-landing * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .pb-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Sub-pages (legal / docs / status) — shared theme
   ========================================================= */
.pb-page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pb-page-hero .pb-glow-1 {
  width: 480px;
  height: 480px;
  background: #0ea5e9;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
}

.pb-page-hero > .pb-container {
  position: relative;
  z-index: 1;
}

.pb-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pb-breadcrumb a {
  color: #7dd3fc;
  transition: color 0.2s;
}

.pb-breadcrumb a:hover { color: #bae6fd; }

.pb-breadcrumb i {
  font-size: 0.7rem;
  opacity: 0.6;
}

.pb-page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pb-page-hero p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 1.05rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Doc / legal content */
.pb-doc {
  padding: 60px 0 96px;
  position: relative;
}

.pb-doc-card {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.6), rgba(24, 24, 27, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  box-shadow: var(--shadow);
}

.pb-prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
  padding-top: 4px;
  scroll-margin-top: 90px;
}

.pb-prose h2:first-child { margin-top: 0; }

.pb-prose p {
  color: #d4d4d8;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.pb-prose ul {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pb-prose li {
  position: relative;
  padding-left: 28px;
  color: #d4d4d8;
  font-size: 0.98rem;
}

.pb-prose li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--gradient);
}

.pb-prose a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pb-prose a:hover { color: #bae6fd; }

.pb-prose strong { color: #fff; font-weight: 600; }

.pb-doc-contact {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pb-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.pb-contact-chip i { color: #38bdf8; }

/* Status page */
.pb-status-summary {
  max-width: 860px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(24, 24, 27, 0.4));
}

.pb-status-summary .pb-summary-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.18);
  color: var(--success);
  font-size: 1.2rem;
}

.pb-status-summary h3 { font-size: 1.05rem; font-weight: 700; }
.pb-status-summary p { color: var(--text-muted); font-size: 0.88rem; margin-top: 2px; }

.pb-status-list {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.5), rgba(24, 24, 27, 0.45));
}

.pb-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.pb-status-item:last-child { border-bottom: none; }
.pb-status-item.pb-expandable { cursor: pointer; }
.pb-status-item.pb-expandable:hover { background: rgba(255, 255, 255, 0.03); }

.pb-status-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
}

.pb-status-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pb-progress-bar {
  width: 160px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pb-progress {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pb-status-badge {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 128px;
  text-align: right;
}

.pb-ok { color: #22c55e; }
.pb-warning { color: #f59e0b; }
.pb-down { color: #ef4444; }

.pb-node-list {
  display: none;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--border);
}

.pb-node-list.open { display: block; }
.pb-node-list .pb-status-item { padding-left: 44px; }

.pb-node-list .pb-status-name::before {
  content: "\21B3";
  color: #52525b;
  margin-right: 4px;
}

.pb-chevron { transition: transform 0.3s ease; color: var(--text-muted); }
.pb-chevron.open { transform: rotate(180deg); }

@media (max-width: 600px) {
  .pb-doc-card { padding: 30px 22px; }
  .pb-status-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .pb-status-right { width: 100%; justify-content: space-between; }
  .pb-progress-bar { flex: 1; width: auto; }
  .pb-status-badge { min-width: auto; }
}
