/* 
 * PORT CLINTON INTAKE - SCOPED PREMIUM STYLING
 */

.pc-intake {
  background-color: #020617;
  padding-top: calc(var(--pc-nav-h) + 2rem);
  padding-bottom: 6rem;
  position: relative;
  min-height: 100vh;
}

.pc-intake .intake-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.pc-intake .intake-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 1rem 0;
  color: #fff;
}

.pc-intake .intake-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* --- Grid Layout --- */
.pc-intake .intake-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .pc-intake .intake-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Tier Cards Column --- */
.pc-intake .col-header h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff;
}

.pc-intake .section-helper-line {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.pc-intake .tier-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pc-intake .tier-card {
  position: relative;
  width: 100%;
  padding: 20px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  font-family: inherit;
}

.pc-intake .tier-card:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.pc-intake .tier-card:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.pc-intake .tier-card.is-selected {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.08);
}

.pc-intake .tier-card .t-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.pc-intake .tier-card .t-name { font-size: 1.05rem; font-weight: 900; color: #fff; margin-top: 4px; }
.pc-intake .tier-card .t-price-wrap { text-align: right; display: flex; flex-direction: column; }
.pc-intake .tier-card .t-price { font-size: 1.25rem; font-weight: 950; color: #fff; line-height: 1; }
.pc-intake .tier-card .t-price small { font-size: 0.75rem; opacity: 0.5; margin-left: 2px; }
.pc-intake .tier-card .t-standard-line { font-size: 0.6rem; color: #64748b; font-weight: 700; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.pc-intake .tier-card .t-meta { font-size: 0.75rem; color: #94a3b8; font-weight: 600; }

.pc-intake .tier-card .t-select-pill {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.pc-intake .tier-card.is-selected .t-select-pill {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pc-intake .popular-tag {
  position: absolute;
  top: -8px; right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 950;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 10;
}

/* --- Form Column --- */
.pc-intake .glass-form-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: clamp(1.5rem, 5vw, 3rem);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.pc-intake .trust-micro {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2rem;
}

.pc-intake .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

@media (max-width: 640px) {
  .pc-intake .form-grid { grid-template-columns: 1fr; }
}

.pc-intake .span-2 { grid-column: 1 / -1; }

.pc-intake .form-group { display: flex; flex-direction: column; gap: 6px; }
.pc-intake .form-group label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}

.pc-intake .form-group input,
.pc-intake .form-group select,
.pc-intake .form-group textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.pc-intake .form-group textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
}

.pc-intake .form-group input:focus,
.pc-intake .form-group select:focus,
.pc-intake .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.pc-intake .field-helper-muted {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 4px;
  font-weight: 600;
}

.pc-intake .pricing-summary-line {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.pc-intake .summary-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.03); padding: 4px 0; }
.pc-intake .summary-row:last-child { border-bottom: none; }
.pc-intake .summary-label { color: #64748b; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 900; }
.pc-intake .summary-value { font-weight: 800; color: #fff; }
.pc-intake .summary-value.highlight { color: var(--primary); }

/* --- Checkbox --- */
.pc-intake .consent-block { margin-top: 10px; }
.pc-intake .custom-checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.pc-intake .custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.pc-intake .checkmark {
  height: 20px; width: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.pc-intake .custom-checkbox input:checked ~ .checkmark { background: var(--primary); border-color: var(--primary); }
.pc-intake .checkmark:after {
  content: ""; position: absolute; display: none;
  left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid white; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pc-intake .custom-checkbox input:checked ~ .checkmark:after { display: block; }
.pc-intake .consent-text { font-size: 0.85rem; color: #94a3b8; line-height: 1.4; font-weight: 500; }

/* --- Submit Actions --- */
.pc-intake .form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pc-intake .submit-info { font-size: 0.75rem; font-weight: 700; color: #64748b; text-align: center; }
.pc-intake .btn-submit {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.pc-intake .btn-submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(1);
  box-shadow: none;
}

.pc-intake .loader-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spinIntake 0.6s linear infinite;
  margin-right: 8px;
}
@keyframes spinIntake { to { transform: rotate(360deg); } }

.pc-intake .error-inline {
  color: #ef4444; font-size: 0.8rem; font-weight: 700; text-align: center;
}

/* --- Success State --- */
.pc-intake .success-panel { text-align: center; padding: 2rem 0; }
.pc-intake .success-icon { font-size: 4rem; color: #10b981; margin-bottom: 1.5rem; }
.pc-intake .success-panel h2 { font-size: 2.25rem; font-weight: 950; color: #fff; margin-bottom: 1rem; }
.pc-intake .success-panel p { color: #94a3b8; margin-bottom: 2.5rem; line-height: 1.6; }
.pc-intake .success-actions { display: flex; gap: 1rem; justify-content: center; }

.pc-intake .btn-back, .pc-intake .btn-reset {
  padding: 12px 32px; border-radius: 12px; font-weight: 900;
  text-transform: uppercase; font-size: 0.8rem; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.pc-intake .btn-back { background: #fff; color: #000 !important; }
.pc-intake .btn-reset { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; }

/* --- Roadmap --- */
.pc-intake .intake-roadmap { margin-top: 8rem; padding-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.pc-intake .roadmap-title { text-align: center; font-size: 2rem; font-weight: 950; margin-bottom: 4rem; text-transform: uppercase; }
.pc-intake .roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .pc-intake .roadmap-grid { grid-template-columns: 1fr; gap: 48px; } }
.pc-intake .step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pc-intake .step .num { font-size: 4rem; font-weight: 950; color: rgba(255, 255, 255, 0.03); line-height: 1; margin-bottom: -1.5rem; }
.pc-intake .step h4 { font-size: 1.25rem; font-weight: 950; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.pc-intake .step p { font-size: 0.95rem; color: #94a3b8; line-height: 1.6; max-width: 260px; }
