/* ================================
   PIPELINE CALCULATOR - PREMIUM
================================ */

/* Container */
.pc-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

/* Dotted background */
.pc-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c8dce8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.pc-container > * {
  position: relative;
  z-index: 1;
}

/* Header */
.pc-header {
  margin-bottom: 40px;
}

.pc-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(26,159,212,0.08);
  border: 1px solid rgba(26,159,212,0.25);
  color: #1a9fd4;
  margin-bottom: 18px;
}

.pc-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pc-header p {
  font-size: 15px;
  color: #6b8299;
  max-width: 600px;
  line-height: 1.6;
}

/* Cards */
.pc-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid #e2edf3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.pc-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1a9fd4,#7db34a);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 18px;
}

.pc-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: #8aa3b7;
  margin-bottom: 22px;
}

/* Grid */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

/* Inputs */
.pc-card label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

.pc-card input,
.pc-card select {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1.5px solid #dce6ed;
  background: #f8fbfd;
  font-size: 14px;
  transition: all .2s ease;
}

.pc-card input:focus,
.pc-card select:focus {
  border-color: #1a9fd4;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,159,212,0.1);
}

/* Range slider */
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: #d3dde5;
  margin-top: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg,#1a9fd4,#7db34a);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,159,212,0.35);
}

/* Button */
.pc-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg,#1a9fd4,#0f7fb0);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 18px rgba(26,159,212,0.3);
  transition: all .2s ease;
}

.pc-btn:hover {
  transform: translateY(-2px);
}

/* Results */
.pc-results {
  display: none;
  margin-top: 40px;
}

.pc-results-title {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .12em;
  color: #8aa3b7;
  margin-bottom: 20px;
}

/* Flow cards */
.pc-flow-card {
  background: #fff;
  border: 1px solid #e2edf3;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pc-flow-card strong {
  font-size: 18px;
}

/* KPI */
.pc-kpi-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 700px) {
  .pc-kpi-row {
    grid-template-columns: 1fr;
  }
}

.pc-kpi-card {
  background: #fff;
  border: 1px solid #e2edf3;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.pc-kpi-card strong {
  display: block;
  font-size: 22px;
  color: #1a9fd4;
  margin-bottom: 6px;
}

/* Alerts */
.pc-alert {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.pc-warning {
  background: rgba(232,130,12,0.05);
  border: 1px solid rgba(232,130,12,0.2);
}

.pc-info {
  background: rgba(26,159,212,0.05);
  border: 1px solid rgba(26,159,212,0.2);
}

/* CTA */
.pc-cta {
  margin-top: 20px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg,rgba(26,159,212,0.08),rgba(125,179,74,0.08));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.pc-cta a {
  background: linear-gradient(135deg,#1a9fd4,#0f7fb0);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* Recalculate */
.pc-recalc {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #8aa3b7;
  cursor: pointer;
  text-decoration: underline;
}

/* FAQ */
.pc-faq-section {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 2px solid #e2edf3;
}

.pc-faq-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}

.pc-faq-item {
  border: 1px solid #e2edf3;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pc-faq-q {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.pc-faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 14px;
  color: #6b8299;
  line-height: 1.7;
}

.pc-faq-item.active .pc-faq-a {
  display: block;
}
/* --- FAQ Section Styles --- */
.svc-faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.svc-faq-section h3 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

.svc-faq-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.svc-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.svc-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.svc-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.svc-faq-question:hover {
    background-color: #f9fafb;
}

/* Accordion Plus/Minus Icon using CSS */
.svc-faq-question::after {
    content: '+';
    font-size: 24px;
    color: #6b7280;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s;
}

.svc-faq-item.active .svc-faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.svc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #ffffff;
    padding: 0 24px;
}

.svc-faq-item.active .svc-faq-answer {
    max-height: 500px; /* Arbitrary large number to allow content to flow */
    padding: 0 24px 24px 24px;
}

.svc-faq-answer p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.svc-faq-answer strong {
    color: #111827;
}