/* ═══════════════════════════════════════════════════════════════════════════
   Portfolio Landing page (for non-logged-in users)
   ═══════════════════════════════════════════════════════════════════════════ */
.cpt-landing {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.cpt-landing *, .cpt-landing *::before, .cpt-landing *::after {
  box-sizing: border-box;
}
.cpt-landing .bx {
  font-family: 'boxicons' !important;
}

/* ── Buttons ── */
.cpt-landing .cpt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: 'Manrope', sans-serif;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.cpt-landing .cpt-btn-p {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.cpt-landing .cpt-btn-p:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
}
.cpt-landing .cpt-btn-g {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}
.cpt-landing .cpt-btn-g:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: translateY(-1px);
}

/* Hero */
.cpt-land-hero {
  text-align: center;
  padding: 64px 0 56px;
}
.cpt-land-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.cpt-land-logo i { font-size: 40px; color: #2563eb; }
.cpt-land-t1 { color: #111827; }
.cpt-land-t2 { color: #2563eb; }
.cpt-land-h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -.8px;
  color: #0f172a;
}
.cpt-land-sub {
  font-size: 18px;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 32px !important;
  line-height: 1.7;
}
.cpt-land-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cpt-land-btn {
  padding: 14px 32px !important;
  font-size: 17px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  letter-spacing: -.2px;
}

/* Features grid */
.cpt-land-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.cpt-land-feat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: all .25s ease;
}
.cpt-land-feat:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}
.cpt-land-ficon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.cpt-land-feat h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
}
.cpt-land-feat p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
}

/* Section heading */
.cpt-land-section {
  margin-bottom: 64px;
  text-align: center;
}
.cpt-land-h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
  letter-spacing: -.4px;
}

/* Steps */
.cpt-land-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}
.cpt-land-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: all .25s ease;
}
.cpt-land-step:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.cpt-land-step-n {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
}
.cpt-land-step h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
}
.cpt-land-step p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Screenshots */
.cpt-land-screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.cpt-land-screen-ph {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 40px 10px;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all .25s ease;
  min-height: 160px;
  justify-content: center;
}
.cpt-land-screen-ph:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}
.cpt-land-screen-ph i { font-size: 36px; }
.cpt-land-screen-ph img {
  width: 100%;
  border-radius: 12px;
  height: 160px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

/* Final CTA */
.cpt-land-final {
  text-align: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 50%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 56px 32px;
}
.cpt-land-final h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #0f172a;
  letter-spacing: -.3px;
}
.cpt-land-final p {
  color: #64748b;
  font-size: 17px;
  margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 900px) {
  .cpt-land-h1 { font-size: 36px; }
  .cpt-land-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cpt-land-hero { padding: 40px 0 36px; }
  .cpt-land-h1 { font-size: 30px; }
  .cpt-land-sub { font-size: 16px; }
  .cpt-land-features { grid-template-columns: 1fr; }
  .cpt-land-screens { grid-template-columns: repeat(2, 1fr); }
  .cpt-land-h2 { font-size: 26px; }
  .cpt-land-final { padding: 40px 20px; }
  .cpt-land-final h2 { font-size: 24px; }
}
@media (max-width: 480px) {
  .cpt-landing { padding: 16px 16px 60px; }
  .cpt-land-logo { font-size: 30px; }
  .cpt-land-h1 { font-size: 26px; }
  .cpt-land-steps { grid-template-columns: 1fr; }
  .cpt-land-btn {
    padding: 12px 24px !important;
    font-size: 15px !important;
    width: 100%;
    justify-content: center;
  }
  .cpt-land-cta { flex-direction: column; align-items: stretch; }
}
