/* =============================================
   DESIGN & PROTOTYPING PLANS — PAGE STYLES
   ============================================= */

/* Active nav link on this page */
.nav-links .nav-active {
  color: #f5f0e8 !important;
}

/* ===== PLANS SECTION ===== */
#devplans-content {
  background: var(--light);
  padding: 7rem 0 5rem;
}

.devplans-header {
  margin-bottom: 3.5rem;
}

/* ===== PLANS GRID ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* ===== PLAN CARD ===== */
.plan-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Featured / most popular card */
.plan-card--featured {
  border-color: rgba(196,98,45,0.35);
  box-shadow: 0 8px 48px rgba(196,98,45,0.14), var(--shadow);
  transform: translateY(-6px);
}

.plan-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--copper), var(--gold));
}

/* Most Popular badge */
.plan-popular-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  background: rgba(196,98,45,0.1);
  border: 1px solid rgba(196,98,45,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.plan-popular-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse 2s infinite;
}

/* Plan tier name */
.plan-tier {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

/* Price */
.plan-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.plan-price span {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(58,31,13,0.4);
  margin-left: 0.15rem;
}

.plan-price--custom {
  font-size: 2.1rem;
  color: var(--copper);
}

.plan-price--custom span {
  font-size: 0.82rem;
  color: rgba(58,31,13,0.4);
  display: block;
  margin-top: 0.1rem;
}

/* Commitment line */
.plan-commitment {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(58,31,13,0.35);
  font-weight: 500;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* Description */
.plan-desc {
  font-size: 0.83rem;
  color: rgba(58,31,13,0.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Includes label */
.plan-includes-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

/* Feature list */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.82rem;
  color: rgba(58,31,13,0.7);
  line-height: 1.5;
  padding-left: 1.35rem;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  top: 1px;
}

/* Best for */
.plan-best-for {
  font-size: 0.78rem;
  color: rgba(58,31,13,0.5);
  line-height: 1.55;
  padding: 0.9rem 1rem;
  background: var(--light);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.plan-best-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* CTA button */
.plan-cta {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.9rem 1.5rem;
  margin-top: auto;
}

/* ===== BOTTOM CTA ===== */
.plans-footer-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.plans-footer-cta p {
  font-size: 0.95rem;
  color: rgba(58,31,13,0.55);
  line-height: 1.7;
}

.plans-footer-cta a {
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(196,98,45,0.3);
  transition: border-color 0.2s, color 0.2s;
}

.plans-footer-cta a:hover {
  color: #b5551f;
  border-color: #b5551f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .plan-card--featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  #devplans-content { padding: 5.5rem 0 3rem; }
  .plan-card { padding: 1.75rem; }
}
