/* portfolio.teerop.com — clean light blue theme (teerop.com unchanged) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

body.pb-site {
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-accent: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', monospace;
  --bg-deep: #f8fafc;
  --bg-panel: #ffffff;
  --bg-glass: #ffffff;
  --bg-glass-hover: #f1f5f9;
  --neon: #2563eb;
  --neon-dim: #1e3a8a;
  --neon-glow: rgba(37, 99, 235, 0.28);
  --neon-soft: rgba(37, 99, 235, 0.1);
  --text: #1e293b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border: #e2e8f0;
  --border-bright: #93c5fd;
  --success: #1d4ed8;
  --danger: #dc2626;
  --warning: #d97706;
  --shadow-neon: 0 4px 18px rgba(30, 58, 138, 0.1);
  --clr-bg: #f8fafc;
  --clr-navy: #1e3a8a;
  --clr-blue: #2563eb;
  --grad-primary: linear-gradient(135deg, #1e3a8a, #2563eb);
  --grad-hero: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  --pb-surface: #ffffff;
  --pb-surface-alt: #f1f5f9;
  --pb-heading: #1e3a8a;
  --pb-link: #2563eb;

  background: #f8fafc !important;
  background-image: none !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.pb-site h1,
body.pb-site h2,
body.pb-site h3,
body.pb-site h4,
body.pb-site h5,
body.pb-site h6,
body.pb-site .auth-title,
body.pb-site .display-title,
body.pb-site .pb-section-title,
body.pb-site .pb-hero-title {
  font-family: var(--font-heading) !important;
  text-transform: none !important;
  letter-spacing: -0.025em !important;
}

body.pb-site p,
body.pb-site li,
body.pb-site label,
body.pb-site input,
body.pb-site textarea,
body.pb-site select,
body.pb-site button {
  font-family: var(--font-body) !important;
}

body.pb-site #cyber-canvas,
body.pb-site .cyber-grid {
  display: none !important;
}

body.pb-site #cyber-loader {
  background: #ffffff !important;
}

body.pb-site .loader-ring {
  border-color: #e2e8f0 !important;
  border-top-color: #1e3a8a !important;
  box-shadow: none !important;
}

body.pb-site .loader-text {
  color: #1e3a8a !important;
}

body.pb-site ::-webkit-scrollbar-track {
  background: #f1f5f9;
}

body.pb-site ::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

body.pb-site ::selection {
  background: rgba(37, 99, 235, 0.15);
  color: #1e3a8a;
}

body.pb-site a {
  color: var(--pb-link);
}

body.pb-site a:hover {
  color: #1e3a8a;
  text-shadow: none;
}

body.pb-site h1,
body.pb-site h2,
body.pb-site h3,
body.pb-site h4,
body.pb-site .auth-title,
body.pb-site .display-title,
body.pb-site .pb-section-title {
  color: var(--pb-heading);
}

body.pb-site .text-muted {
  color: var(--text-muted) !important;
}

body.pb-site .text-neon {
  color: #2563eb !important;
  text-shadow: none !important;
}

/* ---- Header & footer (dark navy chrome) ---- */
body.pb-site {
  --pb-chrome-bg: #1e3a8a;
  --pb-chrome-bg-deep: #172554;
  --pb-chrome-border: rgba(255, 255, 255, 0.12);
  --pb-chrome-text: #ffffff;
  --pb-chrome-muted: rgba(255, 255, 255, 0.72);
  --pb-chrome-dim: rgba(255, 255, 255, 0.5);
  --pb-chrome-accent: #93c5fd;
}

body.pb-site #pb-site-header.pb-site-header {
  background: #1e3a8a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pb-site #pb-site-header.pb-site-header.scrolled {
  background: #172554 !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Flat header — no nested glass panels */
body.pb-site #pb-site-header .pb-header-inner,
body.pb-site #pb-site-header .container,
body.pb-site #pb-site-header .pb-nav-drawer,
body.pb-site #pb-site-header .pb-nav-menu,
body.pb-site #pb-site-header .pb-nav-auth {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

body.pb-site #pb-site-header .pb-nav-auth {
  border-left: none !important;
  padding-left: 0.75rem !important;
  gap: 1rem !important;
}

body.pb-site .pb-logo {
  color: #ffffff !important;
  text-shadow: none !important;
  gap: 0 !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

body.pb-site .pb-logo:hover {
  color: #ffffff !important;
  opacity: 0.92;
}

body.pb-site .pb-logo img {
  display: none !important;
}

body.pb-site .pb-nav-menu a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 1rem !important;
  padding: 0.5rem 0.75rem !important;
}

@media (min-width: 901px) {
  body.pb-site #pb-site-header .pb-nav-menu {
    gap: 0.25rem !important;
  }
}

body.pb-site .pb-nav-menu a::after {
  background: #93c5fd !important;
  box-shadow: none !important;
  height: 2px !important;
}

body.pb-site .pb-nav-menu a:hover,
body.pb-site .pb-nav-menu a:focus,
body.pb-site .pb-nav-menu a.active {
  color: #ffffff !important;
}

body.pb-site .pb-menu-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.pb-site .pb-menu-toggle:hover {
  background: transparent !important;
  border: none !important;
}

body.pb-site .pb-menu-toggle span {
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Desktop: nav sits flush in header bar */
@media (min-width: 901px) {
  body.pb-site #pb-site-header .pb-nav-drawer {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 900px) {
  body.pb-site #pb-site-header .pb-nav-drawer {
    background: #172554 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25) !important;
  }

  body.pb-site .pb-nav-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    text-transform: none !important;
    font-size: 1.05rem !important;
    padding: 0.85rem 0 !important;
  }

  body.pb-site .pb-nav-menu a:hover,
  body.pb-site .pb-nav-menu a:focus {
    color: #ffffff !important;
  }

  body.pb-site .pb-nav-auth {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
    border-left: none !important;
    padding-left: 0 !important;
  }
}

/* Footer */
body.pb-site .pb-site-footer {
  background: linear-gradient(180deg, #172554 0%, #0f172a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  padding-top: clamp(2.5rem, 5vw, 3.75rem) !important;
}

body.pb-site .pb-footer-grid {
  gap: 2.25rem;
}

body.pb-site .pb-footer-brand {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.pb-site .pb-footer-brand span {
  color: #93c5fd !important;
}

body.pb-site .pb-footer-brand-col p {
  color: rgba(255, 255, 255, 0.62) !important;
  line-height: 1.65;
}

body.pb-site .pb-site-footer h4 {
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem !important;
  opacity: 0.95;
}

body.pb-site .pb-site-footer a {
  color: rgba(255, 255, 255, 0.68) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

body.pb-site .pb-site-footer a:hover {
  color: #ffffff !important;
}

body.pb-site .pb-site-footer li {
  margin-bottom: 0.55rem;
}

body.pb-site .pb-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  padding-top: 1.5rem !important;
}

body.pb-site .pb-footer-bottom a {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.pb-site .pb-footer-bottom a:hover {
  color: #ffffff !important;
}

/* Keep page content links blue — not header/footer */
body.pb-site #main-content a {
  color: var(--pb-link);
}

body.pb-site #main-content a:hover {
  color: #1e3a8a;
}

/* Buttons */
body.pb-site .btn-neon,
body.pb-site .btn-neon-solid,
body.pb-site .btn-next,
body.pb-site .btn-primary-custom,
body.pb-site .design-select-btn {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.22) !important;
  text-shadow: none !important;
}

body.pb-site .btn-neon:hover,
body.pb-site .btn-neon-solid:hover,
body.pb-site .btn-next:hover:not(:disabled),
body.pb-site .btn-primary-custom:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28) !important;
}

body.pb-site .btn-ghost,
body.pb-site .btn-back {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e40af !important;
}

body.pb-site .btn-ghost:hover,
body.pb-site .btn-back:hover {
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

/* Header auth — text links, no button blocks (must follow global .btn-* rules) */
body.pb-site #pb-site-header .pb-nav-auth .btn,
body.pb-site #pb-site-header .pb-nav-auth a.btn,
body.pb-site #pb-site-header .pb-nav-auth .btn-sm {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.55rem 1rem !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  min-height: 44px !important;
  line-height: 1.35 !important;
}

body.pb-site #pb-site-header .pb-nav-auth .btn-ghost {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.pb-site #pb-site-header .pb-nav-auth .btn-ghost:hover {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

body.pb-site #pb-site-header .pb-nav-auth .btn-neon {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
}

body.pb-site #pb-site-header .pb-nav-auth .btn-neon:hover {
  background: transparent !important;
  border: none !important;
  color: #93c5fd !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 900px) {
  body.pb-site #pb-site-header .pb-nav-auth {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem 1.25rem !important;
  }

  body.pb-site #pb-site-header .pb-nav-auth .btn,
  body.pb-site #pb-site-header .pb-nav-auth a.btn {
    width: auto !important;
    justify-content: flex-start !important;
    padding: 0.65rem 0 !important;
    font-size: 1.05rem !important;
    min-height: 48px !important;
  }
}

body.pb-site .btn-next:disabled {
  opacity: 0.45;
  background: #94a3b8 !important;
  border-color: #94a3b8 !important;
}

/* Cards */
body.pb-site .glass-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}

body.pb-site .glass-card::before {
  display: none !important;
}

body.pb-site .glass-card:hover {
  border-color: #bfdbfe !important;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08) !important;
}

body.pb-site .glass-card.neon-border {
  animation: none !important;
  border-color: #bfdbfe !important;
}

body.pb-site .stat-cyber {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

body.pb-site .stat-cyber .num {
  color: #1e3a8a !important;
  text-shadow: none !important;
}

body.pb-site .stat-cyber .lbl {
  color: #64748b !important;
}

/* Home */
body.pb-site.pb-home .pb-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.pb-site.pb-home .pb-hero h1,
body.pb-site.pb-home .pb-hero-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: clamp(2.35rem, 6.5vw, 3.85rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

body.pb-site.pb-home .pb-hero-title .pb-hero-line:last-child {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
  text-shadow: none !important;
}

body.pb-site.pb-home .pb-hero-lead {
  color: #64748b !important;
}

body.pb-site.pb-home .pb-badge {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

body.pb-site.pb-home .pb-badge .dot {
  background: #2563eb !important;
  box-shadow: none !important;
}

body.pb-site.pb-home .pb-trust-item {
  color: #64748b !important;
}

body.pb-site.pb-home .pb-section-alt {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

body.pb-site.pb-home .pb-stat-card,
body.pb-site.pb-home .step-card,
body.pb-site.pb-home .template-card,
body.pb-site.pb-home .pb-feature-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

body.pb-site.pb-home .pb-stat-card:hover,
body.pb-site.pb-home .step-card:hover,
body.pb-site.pb-home .template-card:hover,
body.pb-site.pb-home .pb-feature-card:hover {
  border-color: #bfdbfe !important;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08) !important;
}

body.pb-site.pb-home .stat-number {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.25rem, 5vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  color: #2563EB !important;
  font-variant-numeric: tabular-nums;
}

body.pb-site.pb-home .stat-label {
  font-family: var(--font-heading) !important;
  font-size: clamp(0.9rem, 2vw, 1.05rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: #2563EB !important;
  margin-top: 0.55rem !important;
  line-height: 1.35 !important;
}

body.pb-site.pb-home .step-icon {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #2563eb !important;
  box-shadow: none !important;
}

body.pb-site.pb-home .step-card h4,
body.pb-site.pb-home .template-card h4,
body.pb-site.pb-home .pb-feature-card h3 {
  color: #1e3a8a !important;
}

body.pb-site.pb-home .template-preview {
  background: #eff6ff !important;
  border-bottom-color: #e2e8f0 !important;
  color: #2563eb !important;
}

body.pb-site.pb-home .pb-cta h2 {
  color: #1e3a8a !important;
}

body.pb-site.pb-home .pb-cta p {
  color: #64748b !important;
}

body.pb-site.pb-home .pricing-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

body.pb-site.pb-home .pricing-card.featured {
  border-color: #2563eb !important;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12) !important;
}

body.pb-site.pb-home .pricing-card.featured::before {
  color: #ffffff !important;
  background: #1e3a8a !important;
}

body.pb-site.pb-home .pricing-features li i {
  color: #2563eb !important;
}

/* ---- Home page motion & polish ---- */
html:has(body.pb-home) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.pb-home) {
    scroll-behavior: auto;
  }

  body.pb-site.pb-home .pb-hero-seq,
  body.pb-site.pb-home .pb-stagger-grid .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  body.pb-site.pb-home .pricing-card.featured::before {
    animation: none !important;
  }
}

/* Hero ambient background */
body.pb-site.pb-home .pb-hero-enhanced {
  position: relative;
  overflow: hidden;
}

body.pb-site.pb-home .pb-hero-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(30, 58, 138, 0.08), transparent 50%);
  animation: pbHeroAmbient 10s ease-in-out infinite alternate;
}

@keyframes pbHeroAmbient {
  from { opacity: 0.85; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

/* Hero staggered entrance */
body.pb-site.pb-home .pb-hero-seq {
  opacity: 0;
  transform: translateY(22px);
}

body.pb-site.pb-home.pb-hero-loaded .pb-hero-seq {
  animation: pbHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.pb-site.pb-home.pb-hero-loaded .pb-hero-inner .pb-hero-seq:nth-child(1) { animation-delay: 0.05s; }
body.pb-site.pb-home.pb-hero-loaded .pb-hero-inner .pb-hero-seq:nth-child(2) { animation-delay: 0.15s; }
body.pb-site.pb-home.pb-hero-loaded .pb-hero-inner .pb-hero-seq:nth-child(3) { animation-delay: 0.28s; }
body.pb-site.pb-home.pb-hero-loaded .pb-hero-inner .pb-hero-seq:nth-child(4) { animation-delay: 0.4s; }
body.pb-site.pb-home.pb-hero-loaded .pb-hero-inner .pb-hero-seq:nth-child(5) { animation-delay: 0.52s; }

@keyframes pbHeroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.pb-site.pb-home .pb-hero-line-accent {
  display: block;
}

body.pb-site.pb-home .pb-trust-item i {
  color: #2563eb !important;
}

@media (max-width: 768px) {
  body.pb-site.pb-home .pb-hero-trust {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem 0.75rem !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  body.pb-site.pb-home .pb-hero-trust::-webkit-scrollbar {
    display: none;
  }

  body.pb-site.pb-home .pb-trust-item {
    white-space: nowrap !important;
    flex-shrink: 0;
    font-size: 0.72rem !important;
    text-align: left !important;
  }

  body.pb-site.pb-home .pb-trust-item i {
    font-size: 0.68rem !important;
  }
}

@media (max-width: 380px) {
  body.pb-site.pb-home .pb-hero-trust {
    gap: 0.4rem 0.55rem !important;
  }

  body.pb-site.pb-home .pb-trust-item {
    font-size: 0.65rem !important;
  }
}

/* Section headings */
body.pb-site.pb-home .pb-section-head {
  text-align: center;
}

body.pb-site.pb-home .pb-section-title {
  color: #1e3a8a !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4.8vw, 2.85rem) !important;
  line-height: 1.15 !important;
  text-transform: none !important;
}

body.pb-site.pb-home .pb-section-head.visible .pb-section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #93c5fd);
  margin: 0.65rem auto 0;
  border-radius: 999px;
  animation: pbLineGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: center;
}

@keyframes pbLineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* Staggered scroll reveal in grids */
body.pb-site.pb-home .pb-stagger-grid .reveal {
  transition-duration: 0.65s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(1) { transition-delay: 0ms; }
body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(2) { transition-delay: 70ms; }
body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(3) { transition-delay: 140ms; }
body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(4) { transition-delay: 210ms; }
body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(5) { transition-delay: 280ms; }
body.pb-site.pb-home .pb-stagger-grid .reveal.visible:nth-child(6) { transition-delay: 350ms; }

/* Stats */
body.pb-site.pb-home .pb-section-stats {
  padding: clamp(2rem, 5vw, 3.25rem) 0 !important;
}

body.pb-site.pb-home .pb-stats-grid {
  gap: clamp(0.85rem, 2.5vw, 1.35rem) !important;
}

body.pb-site.pb-home .pb-stat-card {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.pb-site.pb-home .pb-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.14) !important;
  border-color: transparent !important;
}

body.pb-site.pb-home .stat-number {
  transition: color 0.2s ease;
}

/* Stacked flow cards (how it works) */
body.pb-site.pb-home .pb-flow-stack-section {
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 8vw, 5rem) !important;
}

body.pb-site.pb-home .pb-flow-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0.5rem 0.5rem 1rem;
}

body.pb-site.pb-home .pb-flow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1.25rem;
  align-items: center;
  width: min(100%, 600px);
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 58, 138, 0.12);
  box-shadow: 0 14px 36px rgba(30, 58, 138, 0.1);
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

body.pb-site.pb-home .pb-flow-card + .pb-flow-card {
  margin-top: -1.35rem;
}

body.pb-site.pb-home .pb-flow-card-1 {
  z-index: 1;
  background: #ffffff !important;
  transform: rotate(-2.5deg);
}

body.pb-site.pb-home .pb-flow-card-2 {
  z-index: 2;
  background: #eff6ff !important;
  transform: rotate(2deg);
}

body.pb-site.pb-home .pb-flow-card-3 {
  z-index: 3;
  background: #dbeafe !important;
  transform: rotate(-1.5deg);
}

body.pb-site.pb-home .pb-flow-card-4 {
  z-index: 4;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 18px 44px rgba(30, 58, 138, 0.28);
  transform: rotate(1.5deg);
}

body.pb-site.pb-home .pb-flow-card:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.01);
  box-shadow: 0 20px 48px rgba(30, 58, 138, 0.16);
  z-index: 5;
}

body.pb-site.pb-home .pb-flow-card-4:hover {
  box-shadow: 0 22px 52px rgba(30, 58, 138, 0.35);
}

body.pb-site.pb-home .pb-flow-num {
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(3.25rem, 14vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #1e3a8a;
  opacity: 0.92;
  user-select: none;
}

body.pb-site.pb-home .pb-flow-card-4 .pb-flow-num {
  color: #ffffff !important;
  opacity: 1;
}

body.pb-site.pb-home .pb-flow-content h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

body.pb-site.pb-home .pb-flow-card-4 .pb-flow-content h3 {
  color: #ffffff !important;
}

body.pb-site.pb-home .pb-flow-content p {
  margin: 0;
  font-size: clamp(0.875rem, 1.8vw, 0.95rem);
  line-height: 1.55;
  color: #475569;
}

body.pb-site.pb-home .pb-flow-card-4 .pb-flow-content p {
  color: #ffffff !important;
}

@media (min-width: 769px) {
  body.pb-site.pb-home .pb-flow-stack-section {
    padding-bottom: clamp(4.5rem, 10vw, 7rem) !important;
  }

  body.pb-site.pb-home .pb-flow-stack {
    max-width: 920px;
    padding: 1rem 1rem 2rem;
  }

  body.pb-site.pb-home .pb-flow-card {
    width: min(100%, 860px);
    gap: 1rem 2.75rem;
    padding: 2.5rem 3.25rem;
    border-radius: 24px;
    box-shadow: 0 20px 52px rgba(30, 58, 138, 0.12);
  }

  body.pb-site.pb-home .pb-flow-card + .pb-flow-card {
    margin-top: -2.25rem;
  }

  body.pb-site.pb-home .pb-flow-card-4 {
    box-shadow: 0 24px 56px rgba(30, 58, 138, 0.3);
  }

  body.pb-site.pb-home .pb-flow-num {
    font-size: clamp(5.5rem, 7vw, 7.5rem);
    min-width: 5rem;
  }

  body.pb-site.pb-home .pb-flow-content h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    margin-bottom: 0.65rem;
  }

  body.pb-site.pb-home .pb-flow-content p {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    max-width: 44ch;
  }
}

@media (max-width: 768px) {
  body.pb-site.pb-home .pb-flow-stack {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  body.pb-site.pb-home .pb-flow-card {
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.85rem;
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
  }

  body.pb-site.pb-home .pb-flow-card + .pb-flow-card {
    margin-top: -1rem;
  }

  body.pb-site.pb-home .pb-flow-card-1 { transform: rotate(-1.5deg); }
  body.pb-site.pb-home .pb-flow-card-2 { transform: rotate(1.5deg); }
  body.pb-site.pb-home .pb-flow-card-3 { transform: rotate(-1deg); }
  body.pb-site.pb-home .pb-flow-card-4 { transform: rotate(1deg); }

  body.pb-site.pb-home .pb-flow-num {
    font-size: clamp(2.5rem, 16vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-site.pb-home .pb-flow-card,
  body.pb-site.pb-home .pb-flow-card-1,
  body.pb-site.pb-home .pb-flow-card-2,
  body.pb-site.pb-home .pb-flow-card-3,
  body.pb-site.pb-home .pb-flow-card-4 {
    transform: none !important;
  }

  body.pb-site.pb-home .pb-flow-card + .pb-flow-card {
    margin-top: 0.75rem;
  }

  body.pb-site.pb-home .pb-flow-card:hover {
    transform: none !important;
  }
}

body.pb-site.pb-home {
  overflow-x: clip;
}

/* Theme name marquee */
body.pb-site.pb-home .pb-theme-showcase-section {
  overflow: visible;
  padding-bottom: clamp(2.5rem, 6vw, 4rem) !important;
}

body.pb-site.pb-home .pb-theme-showcase-section .pb-section-head {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem) !important;
}

body.pb-site.pb-home .pb-theme-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  margin-bottom: 1.75rem;
}

body.pb-site.pb-home .pb-theme-marquee-outer {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  overflow: hidden;
}

body.pb-site.pb-home .pb-theme-marquee-outer + .pb-theme-marquee-outer {
  margin-top: clamp(-3rem, -6vw, -4.5rem);
}

body.pb-site.pb-home .pb-theme-marquee-bend {
  transform: rotate(-10deg);
  transform-origin: center center;
  width: 112vw;
  margin-left: -6vw;
  will-change: transform;
  padding: 0.75rem 0;
}

body.pb-site.pb-home .pb-theme-marquee-viewport {
  overflow: hidden;
  width: 100%;
  min-height: 4.5rem;
}

body.pb-site.pb-home .pb-theme-marquee-track {
  display: flex;
  width: max-content;
  animation: pb-theme-marquee-scroll 55s linear infinite;
}

body.pb-site.pb-home .pb-theme-marquee-set {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

body.pb-site.pb-home .pb-theme-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 16px;
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  border: 1px solid rgba(30, 58, 138, 0.12);
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.1);
  flex-shrink: 0;
}

body.pb-site.pb-home .pb-theme-chip-0 {
  background: #ffffff !important;
  color: #1e3a8a;
}

body.pb-site.pb-home .pb-theme-chip-1 {
  background: #eff6ff !important;
  color: #1e40af;
}

body.pb-site.pb-home .pb-theme-chip-2 {
  background: #dbeafe !important;
  color: #1e3a8a;
}

body.pb-site.pb-home .pb-theme-chip-3 {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.22);
}

body.pb-site.pb-home .pb-theme-showcase-cta {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

body.pb-site.pb-home .pb-theme-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1e40af !important;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
  text-decoration: none !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.pb-site.pb-home .pb-theme-view-btn i {
  font-size: 0.85em;
  transition: transform 0.25s ease;
}

body.pb-site.pb-home .pb-theme-view-btn:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.25);
  transform: translateY(-2px);
}

body.pb-site.pb-home .pb-theme-view-btn:hover i {
  transform: translateX(4px);
}

@keyframes pb-theme-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 769px) {
  body.pb-site.pb-home .pb-theme-marquee-wrap {
    margin-bottom: 2rem;
  }

  body.pb-site.pb-home .pb-theme-marquee-outer {
    padding: clamp(4rem, 9vw, 5.5rem) 0;
  }

  body.pb-site.pb-home .pb-theme-marquee-outer + .pb-theme-marquee-outer {
    margin-top: clamp(-3.75rem, -7vw, -5rem);
  }

  body.pb-site.pb-home .pb-theme-marquee-bend {
    width: 115vw;
    margin-left: -7.5vw;
    padding: 1rem 0;
  }

  body.pb-site.pb-home .pb-theme-marquee-viewport {
    min-height: 5.5rem;
  }

  body.pb-site.pb-home .pb-theme-marquee-set {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }

  body.pb-site.pb-home .pb-theme-chip {
    padding: 1.15rem 2.5rem;
    border-radius: 20px;
    font-size: clamp(1.35rem, 2vw, 2rem);
    box-shadow: 0 14px 36px rgba(30, 58, 138, 0.11);
  }

  body.pb-site.pb-home .pb-theme-marquee-track {
    animation-duration: 65s;
  }

  body.pb-site.pb-home .pb-theme-view-btn {
    padding: 1rem 2.75rem;
    font-size: 1.0625rem;
  }
}

@media (min-width: 1200px) {
  body.pb-site.pb-home .pb-theme-marquee-outer {
    padding: clamp(4.5rem, 10vw, 6rem) 0;
  }

  body.pb-site.pb-home .pb-theme-marquee-outer + .pb-theme-marquee-outer {
    margin-top: clamp(-4rem, -7.5vw, -5.5rem);
  }

  body.pb-site.pb-home .pb-theme-marquee-bend {
    padding: 1.15rem 0;
  }

  body.pb-site.pb-home .pb-theme-marquee-viewport {
    min-height: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-site.pb-home .pb-theme-marquee-wrap {
    gap: 1rem;
  }

  body.pb-site.pb-home .pb-theme-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  body.pb-site.pb-home .pb-theme-marquee-bend {
    transform: none;
  }

  body.pb-site.pb-home .pb-theme-marquee-set[aria-hidden="true"] {
    display: none;
  }

  body.pb-site.pb-home .pb-theme-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
}

/* Template cards */
body.pb-site.pb-home .template-card {
  cursor: pointer;
  text-align: left !important;
  padding: 0 !important;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

body.pb-site.pb-home .template-card:hover {
  transform: translateY(-6px);
}

body.pb-site.pb-home .template-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

body.pb-site.pb-home .template-card-body {
  padding: 1rem 1.15rem 0.85rem;
  flex: 1;
}

body.pb-site.pb-home .template-card h4 {
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 1.05rem !important;
  color: #1e3a8a !important;
}

body.pb-site.pb-home .template-card p {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 0.875rem !important;
  line-height: 1.5;
  color: #64748b !important;
}

body.pb-site.pb-home .template-preview {
  transition: background 0.25s ease;
  overflow: hidden;
}

body.pb-site.pb-home .template-preview i {
  transition: transform 0.35s ease;
}

body.pb-site.pb-home .template-card:hover .template-preview {
  background: #dbeafe !important;
}

body.pb-site.pb-home .template-card:hover .template-preview i {
  transform: scale(1.1);
}

body.pb-site.pb-home .template-card-footer {
  padding: 0.85rem 1.15rem 1.1rem;
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

body.pb-site.pb-home .template-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1e40af !important;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.pb-site.pb-home .template-card-link i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 50%;
  font-size: 0.68rem;
  color: #2563eb !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.pb-site.pb-home .template-card:hover .template-card-link,
body.pb-site.pb-home .template-card:focus-visible .template-card-link {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.22);
  opacity: 1 !important;
  transform: none !important;
}

body.pb-site.pb-home .template-card:hover .template-card-link i,
body.pb-site.pb-home .template-card:focus-visible .template-card-link i {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  transform: translateX(2px);
}

/* Feature card picker */
body.pb-site.pb-home .pb-features-fan-section {
  background: linear-gradient(165deg, #2563eb 0%, #1d4ed8 42%, #1e3a8a 100%) !important;
  border: none !important;
  overflow: visible;
  padding-bottom: clamp(3rem, 8vw, 5.5rem) !important;
}

body.pb-site.pb-home .pb-features-fan-head .pb-section-title {
  color: #ffffff !important;
}

body.pb-site.pb-home .pb-features-fan-head .pb-section-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.pb-site.pb-home .pb-features-fan-head .pb-section-title::after {
  background: rgba(255, 255, 255, 0.55) !important;
}

body.pb-site.pb-home .pb-features-fan-stage {
  display: flex;
  justify-content: center;
  padding: 0 1rem clamp(1.5rem, 5vw, 3rem);
}

body.pb-site.pb-home .pb-features-fan-frame {
  border: none;
  border-radius: 0;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(0.5rem, 2vw, 1rem) clamp(1.25rem, 3vw, 1.75rem);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: min(520px, 94vw);
  width: 100%;
}

body.pb-site.pb-home .pb-features-fan-deck {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: clamp(380px, 72vw, 460px);
  margin: 0 auto;
  padding-top: 3.25rem;
}

body.pb-site.pb-home .pb-features-fan-card {
  --stack-depth: 5;
  position: absolute;
  top: 3.25rem;
  left: 50%;
  width: calc(100% - 0.75rem);
  max-width: 380px;
  min-height: clamp(320px, 62vw, 400px);
  padding: clamp(2.25rem, 5.5vw, 3rem) clamp(1.75rem, 4.5vw, 2.25rem);
  border-radius: 24px;
  border: none;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 10px 24px rgba(15, 23, 42, 0.14),
    0 24px 48px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: none !important;
  transform: translateX(-50%) translateY(calc(var(--stack-depth) * -12px)) rotate(calc(-2deg + var(--stack-depth) * -0.65deg));
  transform-origin: center bottom;
  z-index: calc(30 - var(--stack-depth));
  opacity: calc(1 - var(--stack-depth) * 0.04);
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    opacity 0.35s ease;
}

body.pb-site.pb-home .pb-features-fan-card.is-active {
  --stack-depth: 0;
  opacity: 1;
  pointer-events: auto;
  box-shadow:
    0 6px 12px rgba(15, 23, 42, 0.08),
    0 20px 40px rgba(15, 23, 42, 0.18),
    0 36px 64px rgba(15, 23, 42, 0.16);
  transform: translateX(-50%) translateY(-4px) rotate(-2deg);
  z-index: 30;
}

body.pb-site.pb-home .pb-features-fan-card:not(.is-active) > i,
body.pb-site.pb-home .pb-features-fan-card:not(.is-active) h3,
body.pb-site.pb-home .pb-features-fan-card:not(.is-active) p {
  opacity: 0;
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

body.pb-site.pb-home .pb-features-fan-card > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.75rem, 10vw, 4.75rem);
  height: clamp(3.75rem, 10vw, 4.75rem);
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb !important;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

body.pb-site.pb-home .pb-features-fan-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.4rem, 3.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: #1e3a8a !important;
  line-height: 1.2;
}

body.pb-site.pb-home .pb-features-fan-card p {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.55;
  color: #475569 !important;
  max-width: 30ch;
}

body.pb-site.pb-home .pb-features-fan-card-1 {
  background: #ffffff !important;
}

body.pb-site.pb-home .pb-features-fan-card-2 {
  background: #eff6ff !important;
}

body.pb-site.pb-home .pb-features-fan-card-3 {
  background: #dbeafe !important;
}

body.pb-site.pb-home .pb-features-fan-card-4 {
  background: #bfdbfe !important;
}

body.pb-site.pb-home .pb-features-fan-card-5 {
  background: #93c5fd !important;
}

body.pb-site.pb-home .pb-features-fan-card-6 {
  background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 100%) !important;
}

body.pb-site.pb-home .pb-features-fan-card-6 > i {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

body.pb-site.pb-home .pb-features-fan-card-6 h3 {
  color: #ffffff !important;
}

body.pb-site.pb-home .pb-features-fan-card-6 p {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.pb-site.pb-home .pb-features-fan-picker {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.45rem, 2vw, 0.65rem);
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

body.pb-site.pb-home .pb-features-fan-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.4rem, 7vw, 3rem);
  height: clamp(2.4rem, 7vw, 3rem);
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.pb-site.pb-home .pb-features-fan-pick.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #1e3a8a;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

body.pb-site.pb-home .pb-features-fan-pick:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

body.pb-site.pb-home .pb-features-fan-pick:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (min-width: 769px) {
  body.pb-site.pb-home .pb-features-fan-frame {
    max-width: min(600px, 92vw);
    padding: 2.5rem 2.25rem 2rem;
  }

  body.pb-site.pb-home .pb-features-fan-deck {
    max-width: 460px;
    height: 500px;
    padding-top: 3.75rem;
  }

  body.pb-site.pb-home .pb-features-fan-card {
    top: 3.75rem;
    max-width: 440px;
    min-height: 420px;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transform: translateX(-50%) translateY(calc(var(--stack-depth) * -14px)) rotate(calc(-2deg + var(--stack-depth) * -0.65deg));
  }

  body.pb-site.pb-home .pb-features-fan-card > i {
    width: 5.25rem;
    height: 5.25rem;
    margin-bottom: 1.5rem;
    border-radius: 18px;
    font-size: 2.15rem;
  }

  body.pb-site.pb-home .pb-features-fan-card h3 {
    font-size: clamp(1.75rem, 2.5vw, 2.15rem);
    margin-bottom: 1rem;
  }

  body.pb-site.pb-home .pb-features-fan-card p {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    max-width: 32ch;
  }

  body.pb-site.pb-home .pb-features-fan-card.is-active {
    transform: translateX(-50%) translateY(0) rotate(-2deg);
  }

  body.pb-site.pb-home .pb-features-fan-picker {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  body.pb-site.pb-home .pb-features-fan-pick {
    width: 3.1rem;
    height: 3.1rem;
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pb-site.pb-home .pb-features-fan-card {
    transition: none;
  }

  body.pb-site.pb-home .pb-features-fan-card.is-active {
    animation: none;
  }
}

/* Feature cards */
body.pb-site.pb-home .pb-feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.pb-site.pb-home .pb-feature-card:hover {
  transform: translateY(-4px);
}

body.pb-site.pb-home .pb-feature-card > i {
  transition: transform 0.3s ease, color 0.25s ease;
  color: #2563eb !important;
}

body.pb-site.pb-home .pb-feature-card:hover > i {
  transform: scale(1.1) rotate(-4deg);
}

/* Pricing */
body.pb-site.pb-home .pricing-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.pb-site.pb-home .pricing-card:hover {
  transform: translateY(-4px);
}

body.pb-site.pb-home .pricing-card.featured::before {
  animation: pbPopularPulse 3s ease-in-out infinite;
}

@keyframes pbPopularPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25); }
  50% { box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35); }
}

body.pb-site.pb-home .plan-student-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: #1e40af;
}

/* CTA block */
body.pb-site.pb-home .pb-cta-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%) !important;
  border: 1px solid #bfdbfe !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1) !important;
  padding: clamp(2rem, 4vw, 3rem) !important;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

body.pb-site.pb-home .pb-section-cta {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%) !important;
}

/* Button micro-interactions on home */
body.pb-site.pb-home .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.pb-site.pb-home .btn:hover {
  transform: translateY(-2px);
}

body.pb-site.pb-home .btn i {
  transition: transform 0.2s ease;
}

body.pb-site.pb-home .btn:hover i {
  transform: translateX(3px);
}

body.pb-site.pb-home .btn-outline {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e40af !important;
}

body.pb-site.pb-home .btn-outline:hover {
  border-color: #2563eb !important;
  background: #f8fafc !important;
  color: #1e3a8a !important;
}

/* Nav scroll spy (home anchors) */
body.pb-site.pb-home .pb-nav-menu a.active {
  color: #ffffff !important;
}

body.pb-site.pb-home .pb-nav-menu a.active::after {
  width: 100% !important;
}

/* Auth */
body.pb-site .auth-card {
  max-width: 440px;
  margin: 0 auto;
}

body.pb-site .auth-sub,
body.pb-site .auth-footer {
  color: #64748b !important;
}

body.pb-site .pb-coming-soon-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

body.pb-site .pb-auth-disabled-form {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

body.pb-site .pb-auth-disabled-form .form-input:disabled,
body.pb-site .pb-auth-disabled-form .btn:disabled {
  cursor: not-allowed;
}

body.pb-site .pb-auth-link-disabled {
  color: #94a3b8 !important;
  cursor: not-allowed;
}

body.pb-site .pb-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
  color: #94a3b8 !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.pb-site .pb-auth-divider::before,
body.pb-site .pb-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

body.pb-site .pb-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 0.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #dadce0;
  border-radius: 10px;
  background: #ffffff;
  color: #3c4043 !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.pb-site .pb-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9cc;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.12);
  color: #202124 !important;
}

body.pb-site .pb-google-btn-disabled,
body.pb-site .pb-google-btn-disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
}

body.pb-site .pb-google-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

body.pb-site .profile-avatar {
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
  color: #fff !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12) !important;
}

/* ---- Dashboard (profile-page) ---- */
body.pb-site.profile-page .profile-header {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-top: calc(var(--header-h) + 2rem) !important;
  padding-bottom: 1.75rem !important;
}

body.pb-site.profile-page .profile-header h1,
body.pb-site.profile-page .profile-header .display-title {
  color: #0f172a !important;
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
  filter: none !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

body.pb-site.profile-page .profile-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.6rem;
  flex-shrink: 0;
}

body.pb-site.profile-page .profile-header .font-mono {
  color: #64748b !important;
  font-size: 0.9rem;
}

body.pb-site.profile-page .section {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

body.pb-site.profile-page .glass-card.reveal {
  padding: 1.25rem 1.5rem;
}

body.pb-site.profile-page .glass-card.mb-3 {
  margin-bottom: 1.25rem !important;
}

/* Card titles — undo global center alignment from theme.css */
body.pb-site.profile-page .glass-card .section-title {
  text-align: left !important;
  margin-bottom: 1rem !important;
  font-family: var(--font-heading, system-ui, sans-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #1e3a8a !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.pb-site.profile-page .glass-card .section-title i {
  color: #2563eb !important;
  font-size: 0.95rem;
}

body.pb-site.profile-page .glass-card.neon-border:first-of-type {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

body.pb-site .domain-status-badge {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: none !important;
}

body.pb-site .domain-status-badge.active,
body.pb-site .domain-status-badge.verified {
  background: #eff6ff !important;
  color: #1e40af !important;
  border-color: #bfdbfe !important;
}

body.pb-site .domain-status-badge.pending {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

body.pb-site .domain-status-badge.error {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

body.pb-site.profile-page .stats-grid {
  gap: 1rem;
}

body.pb-site.profile-page .stat-cyber {
  padding: 1.25rem 1rem !important;
}

body.pb-site.profile-page .stat-cyber:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe !important;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.08) !important;
}

body.pb-site.profile-page .stat-cyber .num {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

body.pb-site.profile-page .pb-share-card .share-url-row {
  gap: 0.5rem;
}

body.pb-site.profile-page .pb-share-card .form-input {
  font-family: var(--font-mono, monospace);
  font-size: 0.875rem;
  background: #f8fafc !important;
}

body.pb-site.profile-page .share-link-note strong {
  color: #1e293b;
}

body.pb-site.profile-page .grid-2 {
  gap: 0.75rem;
}

body.pb-site.profile-page .grid-2 > div {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

body.pb-site.profile-page .grid-2 > div span.text-muted {
  display: block;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  color: #94a3b8 !important;
}

body.pb-site.profile-page .grid-2 .font-mono {
  color: #1e293b;
  font-size: 0.95rem;
  margin: 0;
  word-break: break-word;
}

body.pb-site.profile-page .glass-card .flex.flex-wrap.gap-1 {
  gap: 0.5rem;
}

body.pb-site.profile-page .btn-danger {
  background: #ffffff !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.pb-site.profile-page .btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #f87171 !important;
  color: #b91c1c !important;
}

body.pb-site.profile-page #userCssCard label {
  color: #475569;
}

body.pb-site.profile-page #userCssCard input[type="checkbox"] {
  accent-color: #2563eb;
  width: 1rem;
  height: 1rem;
}

body.pb-site.profile-page #editNameForm {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px;
}

body.pb-site.profile-page .glass-card .text-center {
  padding: 2.5rem 1.5rem !important;
}

body.pb-site.profile-page .glass-card .text-center > i.fa-briefcase,
body.pb-site.profile-page .glass-card .text-center > i.fa-lock {
  color: #2563eb !important;
  opacity: 0.85;
}

/* Domain wizard */
body.pb-site .wizard-step {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

body.pb-site.profile-page .wizard-step:hover {
  border-color: #bfdbfe !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.05);
}

body.pb-site.profile-page .step-num {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  box-shadow: none !important;
  font-weight: 700;
}

body.pb-site.profile-page .step-body h4 {
  color: #1e3a8a !important;
  text-transform: none !important;
  font-weight: 700;
  letter-spacing: 0;
}

body.pb-site.profile-page .step-body p {
  color: #64748b !important;
  line-height: 1.55;
}

body.pb-site.profile-page .domain-wizard code {
  background: #eff6ff;
  color: #1e40af;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

body.pb-site.profile-page .dns-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

body.pb-site.profile-page .dns-table {
  margin: 0;
}

body.pb-site.profile-page .dns-table th {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 0.72rem;
}

body.pb-site.profile-page .dns-table td {
  background: #ffffff;
  color: #1e293b !important;
  vertical-align: middle;
}

body.pb-site.profile-page .dns-table code {
  background: #eff6ff !important;
  color: #1e40af !important;
}

body.pb-site.profile-page .ssl-timeline {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0;
}

body.pb-site.profile-page .ssl-step::before,
body.pb-site.profile-page .ssl-step::after {
  background: #cbd5e1 !important;
  top: 22px;
}

body.pb-site.profile-page .ssl-step.done::before,
body.pb-site.profile-page .ssl-step.done::after {
  background: #2563eb !important;
}

body.pb-site.profile-page .ssl-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  background: #ffffff !important;
}

body.pb-site.profile-page .ssl-step.done .ssl-dot {
  background: #2563eb !important;
  border-color: #2563eb;
  box-shadow: none !important;
}

body.pb-site.profile-page .ssl-step.active .ssl-dot {
  background: #ffffff !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2) !important;
}

body.pb-site.profile-page .ssl-step span {
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 600;
}

body.pb-site.profile-page .ssl-step.done span {
  color: #1e40af;
}

body.pb-site.profile-page .ssl-step.active span {
  color: #b45309;
}

body.pb-site.profile-page .terminal-block {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

body.pb-site.profile-page .terminal-block .prompt {
  color: #94a3b8 !important;
}

body.pb-site.profile-page .terminal-block .cmd {
  color: #f8fafc !important;
}

body.pb-site.profile-page .terminal-block .text-neon {
  color: #93c5fd !important;
}

body.pb-site.profile-page .provider-toggle {
  background: #f8fafc !important;
  color: #1e293b !important;
  text-transform: none !important;
  letter-spacing: 0;
  font-size: 0.9rem;
}

body.pb-site.profile-page .provider-toggle:hover {
  background: #eff6ff !important;
  color: #1e40af !important;
}

body.pb-site.profile-page .provider-toggle i {
  color: #94a3b8;
  transition: transform 0.2s;
}

body.pb-site.profile-page .provider-item:has(.provider-body.open) .provider-toggle i {
  transform: rotate(180deg);
}

body.pb-site.profile-page .provider-body {
  background: #ffffff;
  color: #64748b !important;
}

/* Modals */
body.pb-site .admin-modal-content {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18) !important;
}

body.pb-site .admin-modal-header,
body.pb-site .admin-modal-footer {
  border-color: #e2e8f0 !important;
}

body.pb-site.profile-page .admin-modal {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(4px);
}

body.pb-site.profile-page .admin-modal-header {
  background: #f8fafc !important;
}

body.pb-site.profile-page .admin-modal-header h3 {
  color: #1e3a8a !important;
  text-transform: none !important;
}

body.pb-site.profile-page .admin-modal-header h3 i {
  color: #2563eb !important;
}

body.pb-site.profile-page .admin-modal-footer {
  background: #f8fafc !important;
}

body.pb-site.profile-page .admin-modal-close:hover {
  color: #1e3a8a !important;
}

body.pb-site.profile-page .portfolio-html-ref-wrap {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body.pb-site.profile-page .portfolio-html-ref-code {
  color: #1e40af !important;
}

body.pb-site.profile-page .admin-modal-body .glass-card {
  background: #f8fafc !important;
  border-color: #bfdbfe !important;
}

body.pb-site #userCssEditor {
  background: #f8fafc !important;
  color: #1e293b !important;
  border-color: #cbd5e1 !important;
  font-family: var(--font-mono, monospace);
  line-height: 1.5;
  resize: vertical;
  min-height: 280px;
}

@media (max-width: 768px) {
  body.pb-site.profile-page .profile-header {
    padding-top: calc(var(--header-h) + 1.25rem) !important;
    padding-bottom: 1.25rem !important;
  }

  body.pb-site.profile-page .profile-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  body.pb-site.profile-page .glass-card.reveal {
    padding: 1rem 1.1rem;
  }

  body.pb-site.profile-page .ssl-timeline {
    flex-direction: column;
    align-items: stretch;
  }

  body.pb-site.profile-page .ssl-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0.65rem 1rem;
    min-width: 0;
  }

  body.pb-site.profile-page .ssl-step::before,
  body.pb-site.profile-page .ssl-step::after {
    display: none;
  }

  body.pb-site.profile-page .ssl-dot {
    margin: 0;
    flex-shrink: 0;
  }

  body.pb-site.profile-page .wizard-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  body.pb-site.profile-page .dns-table {
    font-size: 0.78rem;
  }

  body.pb-site.profile-page .dns-table th,
  body.pb-site.profile-page .dns-table td {
    padding: 0.5rem;
  }

  body.pb-site.profile-page #userCssEditor {
    min-height: 200px;
    font-size: 0.78rem;
  }
}

/* ---- Builder, designs & preview flow ---- */
body.pb-site.pb-page,
body.pb-site.pb-flow,
body.pb-site.pb-preview {
  background: #f8fafc !important;
  background-image: none !important;
  color: #1e293b !important;
  --bs-body-bg: #f8fafc;
  --bs-body-color: #1e293b;
  --bs-emphasis-color: #0f172a;
  --bs-secondary-color: #64748b;
  --bs-secondary-bg: #f1f5f9;
  --bs-tertiary-color: #94a3b8;
  --bs-tertiary-bg: #f8fafc;
  --bs-border-color: #e2e8f0;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1e3a8a;
  --bs-heading-color: #1e3a8a;
}

body.pb-site.pb-flow .pb-builder-wrap {
  padding-top: calc(var(--header-h) + 1.25rem);
}

body.pb-site .design-header {
  margin-bottom: 1.75rem;
}

body.pb-site .design-header h1 {
  color: #1e3a8a !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-weight: 700;
}

body.pb-site .design-header h1 i {
  color: #2563eb !important;
}

body.pb-site .design-header p {
  color: #64748b !important;
}

body.pb-site .design-header p strong {
  color: #1e40af;
}

/* Progress steps */
body.pb-site .progress-bar-custom {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: none !important;
}

body.pb-site .progress-step:not(:last-child)::after {
  background: #e2e8f0 !important;
}

body.pb-site .progress-step.completed:not(:last-child)::after {
  background: linear-gradient(90deg, #2563eb, #e2e8f0) !important;
}

body.pb-site .progress-step .step-number {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: none !important;
}

body.pb-site .progress-step .step-label {
  color: #94a3b8 !important;
  text-transform: none !important;
  letter-spacing: 0;
  font-size: 0.8rem;
}

body.pb-site .progress-step.active .step-number,
body.pb-site .progress-step.completed .step-number {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  box-shadow: none !important;
  transform: none;
}

body.pb-site .progress-step.active .step-label {
  color: #1e40af !important;
  font-weight: 700;
}

body.pb-site .progress-step.completed .step-label {
  color: #64748b !important;
}

/* Form card & sections */
body.pb-site .form-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: none !important;
  border-radius: 12px;
}

body.pb-site .form-section {
  background: transparent !important;
  border-bottom-color: #e2e8f0 !important;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
}

body.pb-site .form-section h3 {
  color: #1e3a8a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
}

body.pb-site .form-section h3 i {
  color: #2563eb !important;
}

/* Inputs — override portfolio-builder.css dark !important rules */
body.pb-site .pb-builder-wrap .form-control,
body.pb-site .pb-builder-wrap .form-select,
body.pb-site .pb-flow .pb-builder-wrap .form-control,
body.pb-site .pb-flow .pb-builder-wrap .form-select,
body.pb-site .pb-flow .pb-builder-wrap textarea.form-control,
body.pb-site .pb-designs .form-control,
body.pb-site .form-input,
body.pb-site .form-control,
body.pb-site .form-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  border-radius: 8px !important;
  padding: 0.7rem 0.95rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.pb-site .pb-builder-wrap .form-control:hover,
body.pb-site .pb-flow .pb-builder-wrap .form-control:hover,
body.pb-site .form-control:hover {
  border-color: #94a3b8 !important;
}

body.pb-site .pb-builder-wrap .form-control:focus,
body.pb-site .pb-builder-wrap .form-select:focus,
body.pb-site .pb-flow .pb-builder-wrap .form-control:focus,
body.pb-site .pb-flow .pb-builder-wrap .form-select:focus,
body.pb-site .pb-flow .pb-builder-wrap textarea.form-control:focus,
body.pb-site .form-input:focus,
body.pb-site .form-control:focus,
body.pb-site .form-select:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
  color: #1e293b !important;
  outline: none !important;
}

body.pb-site .pb-builder-wrap .form-control::placeholder,
body.pb-site .pb-flow .form-control::placeholder,
body.pb-site .form-control::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

body.pb-site .pb-builder-wrap .form-label,
body.pb-site .pb-builder-wrap label.form-label,
body.pb-site .pb-flow .form-label,
body.pb-site .form-label,
body.pb-site label {
  color: #475569 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem !important;
}

body.pb-site .pb-builder-wrap .fw-bold,
body.pb-site .pb-flow .fw-bold {
  color: #334155 !important;
}

/* File inputs */
body.pb-site .pb-builder-wrap input[type="file"].form-control,
body.pb-site .pb-flow input[type="file"].form-control {
  background: #f8fafc !important;
  padding: 0.5rem 0.75rem !important;
}

body.pb-site .pb-builder-wrap input[type="file"].form-control::file-selector-button,
body.pb-site .pb-flow input[type="file"].form-control::file-selector-button {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 6px !important;
  color: #1e40af !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0.45rem 0.85rem !important;
  margin-right: 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.pb-site .pb-builder-wrap input[type="file"].form-control::file-selector-button:hover,
body.pb-site .pb-flow input[type="file"].form-control::file-selector-button:hover {
  background: #dbeafe !important;
  border-color: #2563eb !important;
  color: #1e3a8a !important;
}

/* Quill rich text editor */
body.pb-site .pb-builder-wrap .ql-toolbar.ql-snow,
body.pb-site .pb-flow .ql-toolbar.ql-snow,
body.pb-site .ql-toolbar.ql-snow {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  border-radius: 8px 8px 0 0 !important;
}

body.pb-site .pb-builder-wrap .ql-container.ql-snow,
body.pb-site .pb-flow .ql-container.ql-snow,
body.pb-site .ql-container.ql-snow {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  border-radius: 0 0 8px 8px !important;
  font-size: 0.95rem;
}

body.pb-site .pb-builder-wrap .ql-editor,
body.pb-site .pb-flow .ql-editor,
body.pb-site .ql-editor {
  color: #1e293b !important;
  min-height: 140px;
  line-height: 1.6;
}

body.pb-site .pb-builder-wrap .ql-editor.ql-blank::before,
body.pb-site .pb-flow .ql-editor.ql-blank::before {
  color: #94a3b8 !important;
  font-style: normal !important;
}

body.pb-site .pb-builder-wrap .ql-snow .ql-stroke,
body.pb-site .pb-flow .ql-snow .ql-stroke {
  stroke: #64748b !important;
}

body.pb-site .pb-builder-wrap .ql-snow .ql-fill,
body.pb-site .pb-flow .ql-snow .ql-fill {
  fill: #64748b !important;
}

body.pb-site .pb-builder-wrap .ql-snow .ql-picker,
body.pb-site .pb-flow .ql-snow .ql-picker {
  color: #475569 !important;
}

body.pb-site .pb-builder-wrap .ql-snow .ql-picker-options,
body.pb-site .pb-flow .ql-snow .ql-picker-options {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1) !important;
}

body.pb-site .pb-builder-wrap .ql-snow .ql-picker.ql-expanded .ql-picker-label,
body.pb-site .pb-flow .ql-snow .ql-picker.ql-expanded .ql-picker-label {
  border-color: #cbd5e1 !important;
}

body.pb-site .pb-builder-wrap .ql-snow button:hover,
body.pb-site .pb-flow .ql-snow button:hover,
body.pb-site .pb-builder-wrap .ql-snow .ql-picker-label:hover,
body.pb-site .pb-flow .ql-snow .ql-picker-label:hover {
  color: #2563eb !important;
}

body.pb-site .pb-builder-wrap .ql-snow button:hover .ql-stroke,
body.pb-site .pb-flow .ql-snow button:hover .ql-stroke {
  stroke: #2563eb !important;
}

body.pb-site .pb-builder-wrap .ql-snow button.ql-active .ql-stroke,
body.pb-site .pb-flow .ql-snow button.ql-active .ql-stroke {
  stroke: #1e3a8a !important;
}

/* Dynamic item cards (experience, projects, etc.) */
body.pb-site .item-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  border-left-color: #2563eb !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body.pb-site .item-card:hover {
  border-color: #bfdbfe !important;
  border-left-color: #2563eb !important;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.06) !important;
}

body.pb-site .item-card .form-control {
  background: #ffffff !important;
}

body.pb-site .btn-remove {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

body.pb-site .btn-remove:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
}

/* Add / action buttons */
body.pb-site .btn-add {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body.pb-site .btn-add:hover {
  background: #dbeafe !important;
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  box-shadow: none !important;
}

body.pb-site .pb-actions-form {
  border-top-color: #e2e8f0 !important;
}

body.pb-site .btn-primary-custom,
body.pb-site .btn-next {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.22) !important;
}

body.pb-site .btn-primary-custom:hover,
body.pb-site .btn-next:hover:not(:disabled) {
  background: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28) !important;
  transform: translateY(-1px);
}

body.pb-site .btn-back {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  text-transform: none !important;
}

body.pb-site .btn-back:hover {
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  background: #f8fafc !important;
}

/* Upload & preview */
body.pb-site .image-preview {
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  border-radius: 10px;
}

body.pb-site .upload-status.success {
  color: #1e40af !important;
}

body.pb-site .upload-status.error {
  color: #dc2626 !important;
}

body.pb-site .loading-overlay {
  background: rgba(248, 250, 252, 0.92) !important;
  backdrop-filter: blur(6px);
}

body.pb-site .loading-spinner {
  border-color: #e2e8f0 !important;
  border-top-color: #2563eb !important;
}

body.pb-site .loading-text {
  color: #1e3a8a !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
}

body.pb-site .pb-builder-wrap .text-muted,
body.pb-site .pb-designs .text-muted {
  color: #64748b !important;
}

/* ---- Designs page (/designs) ---- */
body.pb-site.pb-designs .pb-builder-wrap {
  padding-bottom: 2.5rem;
}

body.pb-site.pb-designs .designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
}

body.pb-site.pb-designs .design-theme-card,
body.pb-site.pb-designs .design-card:not(.design-folder) {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: #1e293b !important;
}

body.pb-site.pb-designs .design-theme-card:hover,
body.pb-site.pb-designs .design-card:not(.design-folder):hover {
  transform: translateY(-3px);
  border-color: #93c5fd !important;
  box-shadow: 0 8px 28px rgba(30, 58, 138, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

body.pb-site.pb-designs .design-theme-card.selected,
body.pb-site.pb-designs .design-card:not(.design-folder).selected {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), 0 12px 32px rgba(30, 58, 138, 0.12) !important;
  transform: translateY(-2px);
}

body.pb-site.pb-designs .design-theme-card.selected::after {
  content: '✓';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 4;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4) !important;
  border: 2px solid #ffffff;
}

body.pb-site.pb-designs .design-preview-viewport {
  position: relative;
  overflow: hidden;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  line-height: 0;
}

body.pb-site.pb-designs .design-preview-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -24px 24px -12px rgba(15, 23, 42, 0.06);
  z-index: 2;
}

body.pb-site.pb-designs .design-preview-iframe {
  background: #ffffff;
}

body.pb-site.pb-designs .design-info {
  padding: 1.1rem 1.25rem 1.25rem !important;
  text-align: left !important;
  background: #ffffff !important;
  border-top: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.pb-site.pb-designs .design-theme-card.selected .design-info {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
}

body.pb-site.pb-designs .design-info h3 {
  font-family: var(--font-heading, system-ui, sans-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  color: #1e3a8a !important;
  margin-bottom: 0.35rem !important;
}

body.pb-site.pb-designs .design-info p {
  color: #64748b !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  margin: 0 0 1rem !important;
  flex: 1;
}

body.pb-site.pb-designs .design-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

body.pb-site.pb-designs .design-preview-btn,
body.pb-site.pb-designs .design-select-btn {
  flex: 1;
  justify-content: center;
  padding: 0.55rem 0.85rem !important;
  border-radius: 8px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  min-height: 38px;
}

body.pb-site.pb-designs .design-preview-btn {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: none !important;
}

body.pb-site.pb-designs .design-preview-btn:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1e3a8a !important;
  box-shadow: none !important;
}

body.pb-site.pb-designs .design-select-btn {
  background: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

body.pb-site.pb-designs .design-select-btn:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1e40af !important;
}

body.pb-site.pb-designs .design-theme-card.selected .design-select-btn,
body.pb-site.pb-designs .design-card.selected .design-select-btn {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
}

body.pb-site.pb-designs .design-theme-card.selected .design-preview-btn {
  border-color: #93c5fd !important;
  background: #ffffff !important;
}

body.pb-site.pb-designs .design-theme-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

body.pb-site.pb-designs .progress-step.completed .step-number {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body.pb-site.pb-designs .progress-step.completed .step-number i {
  font-size: 0.85rem;
}

body.pb-site.pb-designs .progress-step.completed .step-label {
  color: #1e40af !important;
  font-weight: 600;
}

body.pb-site.pb-designs .pb-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

body.pb-site.pb-designs .btn-next:disabled {
  background: #e2e8f0 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

body.pb-site.pb-designs .main-container h1 {
  text-transform: none !important;
}

@media (max-width: 768px) {
  body.pb-site.pb-designs .designs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  body.pb-site.pb-designs .design-preview-viewport {
    min-height: 180px;
  }

  body.pb-site.pb-designs .design-card-actions {
    flex-direction: column;
  }

  body.pb-site.pb-designs .design-preview-btn,
  body.pb-site.pb-designs .design-select-btn {
    width: 100%;
  }

  body.pb-site.pb-designs .pb-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.pb-site.pb-designs .btn-next,
  body.pb-site.pb-designs .btn-back {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  body.pb-site.pb-designs .designs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  body.pb-site.pb-flow .pb-builder-wrap {
    padding-top: calc(var(--header-h) + 0.75rem);
  }

  body.pb-site .progress-bar-custom {
    border-radius: 12px !important;
    padding: 1rem !important;
  }

  body.pb-site .form-card {
    padding: 1rem !important;
  }

  body.pb-site .pb-builder-wrap .form-control,
  body.pb-site .pb-flow .pb-builder-wrap .form-control {
    font-size: 16px !important; /* prevent iOS zoom */
  }
}

/* Legal */
body.pb-site.pb-legal .page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.pb-site.pb-legal .page-hero .section-label {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

body.pb-site.pb-legal .page-hero h1 {
  color: #1e3a8a !important;
}

body.pb-site.pb-legal .page-hero p {
  color: #64748b !important;
}

body.pb-site .legal-section h2::before {
  background: #2563eb !important;
  box-shadow: none !important;
}

body.pb-site .legal-section h3 {
  color: #1e40af !important;
}

body.pb-site .legal-section p,
body.pb-site .legal-section li {
  color: #475569 !important;
}

/* Forms */
body.pb-site .form-input,
body.pb-site .form-control,
body.pb-site .form-select {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

body.pb-site .form-input:focus,
body.pb-site .form-control:focus,
body.pb-site .form-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.pb-site .form-label,
body.pb-site label {
  color: #475569 !important;
}

body.pb-site .ql-toolbar.ql-snow,
body.pb-site .ql-container.ql-snow {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

body.pb-site .ql-editor {
  color: #1e293b !important;
}

/* Alerts */
body.pb-site .alert-success {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

body.pb-site .alert-error {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}

/* Demo bar */
body.pb-site .pb-demo-bar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

body.pb-site .pb-demo-bar strong {
  color: #1e3a8a !important;
}

body.pb-site .pb-demo-bar-select {
  background: #1e3a8a !important;
  color: #fff !important;
  border-color: #1e3a8a !important;
}

body.pb-site .pb-demo-bar-back {
  color: #2563eb !important;
  border-color: #cbd5e1 !important;
  background: #fff !important;
}
