:root{
  --pd-bg: #0b1220;
  --pd-surface: #ffffff;
  --pd-surface-2: #f7f8fb;
  --pd-border: rgba(15, 23, 42, .10);
  --pd-text: #0f172a;
  --pd-muted: rgba(15, 23, 42, .65);
  --pd-brand: #2563eb;      /* clean blue */
  --pd-brand-2: #60a5fa;    /* light accent */
  --pd-shadow: 0 12px 30px rgba(2, 6, 23, .08);
  --pd-radius: 18px;
}

.pd-body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--pd-text);
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(96,165,250,.22), transparent 60%),
    radial-gradient(900px 500px at 10% -10%, rgba(37,99,235,.18), transparent 55%),
    #fff;
}

.small-muted{ color: var(--pd-muted); font-size: .95rem; }

.pd-nav{
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pd-border);
}

.pd-logo{
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--pd-brand);
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.15);
}

.pd-brand-text{
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.pd-card{
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
  background: var(--pd-surface);
  box-shadow: var(--pd-shadow);
}

.pd-soft-card{
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
  background: var(--pd-surface-2);
}

.pd-hero{
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70)),
    radial-gradient(900px 420px at 70% -20%, rgba(96,165,250,.35), transparent 60%),
    radial-gradient(600px 420px at 10% 10%, rgba(37,99,235,.18), transparent 55%);
  border: 1px solid var(--pd-border);
  overflow: hidden;
}

.pd-badge{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
  color: rgba(37,99,235,.95);
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.15);
}

.pd-title{
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pd-hero-media{
  border-radius: 18px;
  border: 1px solid var(--pd-border);
  background: #fff;
  box-shadow: 0 18px 50px rgba(2,6,23,.12);
  overflow: hidden;
}

.pd-hero-media img{
  width: 100%;
  height: auto;
  display: block;
}

.pd-kpi{
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  padding: 14px 14px;
}

.pd-kpi .num{
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pd-step{
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  height: 100%;
}

.pd-step .icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(37,99,235,.10);
  color: var(--pd-brand);
  border: 1px solid rgba(37,99,235,.15);
  margin-bottom: 10px;
}

.pd-list-item{
  border: 1px solid var(--pd-border);
  border-radius: 14px;
  background: #fff;
  padding: 12px 12px;
}

.pd-pricing{
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  height: 100%;
}

.pd-pricing.featured{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 18px 55px rgba(37,99,235,.12);
}

.pd-pricing .price{
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.btn-primary{
  background: var(--pd-brand);
  border-color: var(--pd-brand);
}
.btn-primary:hover{
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.progress{ height: 10px; border-radius: 999px; }
.progress-bar{ border-radius: 999px; }

.pd-footer{ background: rgba(255,255,255,.85); backdrop-filter: blur(10px); }

.pd-pagehead{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.pd-pagehead-actions{
  display:flex; align-items:center; gap:10px;
}
.pd-credits{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; border:1px solid rgba(0,0,0,.08);
  border-radius:14px; background:rgba(255,255,255,.7);
}
.pd-credits .label{ font-size:12px; color:var(--pd-muted); }
.pd-credits .value{ font-weight:600; }

.pd-mini-steps{
  display:flex; gap:10px; flex-wrap:wrap;
  color:var(--pd-muted); font-size:13px;
}
.pd-mini-steps span{ display:flex; gap:6px; align-items:center; }

.pd-subcard{
  border:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.7);
}

.pd-segment .btn{
  border-radius:14px !important;
  padding:.5rem .75rem;
}
.pd-segment{
  display:flex; gap:8px; flex-wrap:wrap;
}
.pd-flag{ margin-right:6px; }
.pd-pill{
  margin-left:8px;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  color:var(--pd-muted);
}
.pd-fieldblock .form-control-lg{
  border-radius:16px;
}


/* Dashboard background + spacing */
.pd-dash-wrap { padding-bottom: 12px; }

/* Hero */
.pd-dash-hero{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap;
  padding:18px 18px;
  border-radius:20px;
  border:1px solid rgba(0,0,0,.06);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(13,110,253,.10), transparent 60%),
    radial-gradient(700px 260px at 90% 0%, rgba(111,66,193,.10), transparent 55%),
    rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
}
.pd-dash-title{ margin:0; font-weight:750; letter-spacing:-.02em; }
.pd-dash-sub{ color: var(--pd-muted); margin-top:4px; }
.pd-mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.pd-dash-hero-right{ display:flex; align-items:center; gap:10px; }
.pd-credit-pill{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
}
.pd-credit-pill .label{ font-size:12px; color:var(--pd-muted); }
.pd-credit-pill .value{
  font-weight:800; font-size:14px;
  padding:4px 10px; border-radius:999px;
  background: rgba(13,110,253,.12);
}

/* Card head */
.pd-card-head{
  display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap;
  padding:18px 18px;
  border-bottom:1px solid rgba(0,0,0,.06);
  background: rgba(248,249,250,.75);
}
.pd-card-kicker{ font-size:12px; color:var(--pd-muted); text-transform:uppercase; letter-spacing:.08em; }
.pd-card-title{ font-weight:750; letter-spacing:-.01em; }
.pd-card-sub{ color:var(--pd-muted); max-width:70ch; }

.pd-muted{ color: var(--pd-muted) !important; }

/* Stepper */
.pd-stepper{ display:flex; gap:10px; flex-wrap:wrap; }
.pd-step{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  color: var(--pd-muted);
  font-size:13px;
}
.pd-step .dot{
  width:22px; height:22px;
  border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(0,0,0,.10);
  font-weight:700;
  background: rgba(0,0,0,.03);
}
.pd-step.active{
  color:#0b5ed7;
  border-color: rgba(13,110,253,.25);
  background: rgba(13,110,253,.07);
}
.pd-step.active .dot{
  border-color: rgba(13,110,253,.25);
  background: rgba(13,110,253,.12);
}

/* Inputs */
.pd-input{
  border-radius:16px !important;
  background: rgba(248,249,250,.95) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
}
.pd-input:focus{
  background: #fff !important;
}

/* Options panel */
.pd-options{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.07);
  background:
    radial-gradient(700px 260px at 0% 0%, rgba(13,110,253,.08), transparent 60%),
    rgba(255,255,255,.85);
  padding:16px;
}
.pd-options-title{
  font-weight:700;
  display:flex; align-items:center; gap:8px;
  margin-bottom:12px;
}
.pd-opt-block{ margin-bottom:14px; }
.pd-opt-block .label{ font-weight:600; margin-bottom:6px; }

/* Chips */
.pd-chiprow{ display:flex; gap:8px; flex-wrap:wrap; }
.pd-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  cursor:pointer;
  user-select:none;
  font-weight:600;
}
.pd-chip .mini{
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  color: var(--pd-muted);
  background: rgba(0,0,0,.03);
}
.pd-chip .pill{
  margin-left:6px;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(13,110,253,.22);
  color:#0b5ed7;
  background: rgba(13,110,253,.10);
}
.btn-check:checked + .pd-chip{
  border-color: rgba(13,110,253,.35);
  background: rgba(13,110,253,.08);
  color:#0b5ed7;
}
.btn-check:checked + .pd-chip .mini{
  border-color: rgba(13,110,253,.28);
  background: rgba(13,110,253,.12);
  color:#0b5ed7;
}

/* Upload button + progress */
.pd-btn-upload{ border-radius:16px; padding:12px 16px; font-weight:700; }
.pd-progress{ height: 10px; border-radius: 999px; overflow:hidden; background: rgba(0,0,0,.06); }
.pd-progress .progress-bar{ border-radius: 999px; }
