/* ============================================================
   SKYLINE STUDIO — PRICING PAGE CSS
   File: css/pricing.css
   ============================================================ */

.pricing-section {
  background: var(--navy);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border: 2px solid var(--cobalt);
  background: linear-gradient(180deg, rgba(43, 107, 255, 0.08), var(--navy-light));
}

.pricing-card.popular:hover {
  box-shadow: 0 24px 64px rgba(43, 107, 255, 0.3);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cobalt);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 14px;
  color: var(--silver-dim);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.plan-price .currency {
  font-size: 24px;
  vertical-align: top;
  margin-right: 2px;
}

.plan-price .period {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver-dim);
  margin-top: 6px;
  letter-spacing: 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.plan-features li {
  font-size: 14px;
  color: var(--silver);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-cta {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  margin-top: 48px;
  animation: fadeUp 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

.pricing-note p {
  font-size: 15px;
  color: var(--silver);
}

.pricing-note a {
  color: var(--cobalt-light);
  font-weight: 600;
  text-decoration: none;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* Included Section */
.included-section {
  background: var(--navy-mid);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.included-item {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  transition: all var(--transition);
}

.included-item:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  transform: translateY(-4px);
}

/* CTA Final */
.cta-final {
  background: linear-gradient(135deg, rgba(43, 107, 255, 0.1), rgba(167, 139, 250, 0.05));
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-final .section-title { animation: fadeUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.cta-final .section-sub { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; margin: 16px auto 0; }

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fadeUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ── DETAILED INTRO & FACTORS ── */
.price-intro-content, .price-factors-content { max-width: 860px; }
.price-intro-content p, .price-factors-content p {
  font-size: 16px; color: var(--silver); line-height: 1.85; margin-bottom: 22px;
}
.price-intro-content p:last-child, .price-factors-content p:last-child { margin-bottom: 0; }
/* ── FAQ ── */
.price-faq-list { display: flex; flex-direction: column; gap: 20px; }
.price-faq-item {
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition);
}
.price-faq-item:hover { border-color: var(--cobalt); }
.price-faq-item h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.price-faq-item p { font-size: 15px; color: var(--silver); line-height: 1.75; margin: 0; }
@media (max-width: 768px) {
  .price-intro-content p, .price-factors-content p { font-size: 15px; line-height: 1.75; }
  .price-faq-item { padding: 22px; }
}
