/* Cherry Street Labs — Pricing (Light Elegance) */

body.pricing-page {
  background: #F5F2ED;
  font-family: 'Inter', system-ui, sans-serif;
  color: #6B6560;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.pricing-nav-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
}

.back-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B6560;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.back-link:hover { color: #C41E3A; }

.nav-cta {
  padding: 0.55rem 1.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #C41E3A;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.3s ease;
}

.nav-cta:hover { background: #A0162E; }

/* ===== HERO ===== */
.pricing-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 9rem 2rem 4rem;
}

.pricing-hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: #1A1714;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.pricing-hero-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #C41E3A;
}

.pricing-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6B6560;
  margin-bottom: 1.5rem;
}

.pricing-hero-trust {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: #9A9390;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-dot { color: #C41E3A; }

.pricing-cta-button {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: #C41E3A;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.3s ease;
}

.pricing-cta-button:hover { background: #A0162E; }

/* ===== SECTIONS ===== */
.section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #C41E3A;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: #1A1714;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 3rem;
}

.page-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(26, 23, 20, 0.06);
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== TIERS ===== */
.pricing-tiers { padding-bottom: 2rem; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch; 
}

.tier-card {
  background: #FFF;
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  position: relative;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-card:hover { border-color: rgba(26, 23, 20, 0.15); }

.tier-popular {
  border-color: #C41E3A;
  border-width: 1.5px;
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #C41E3A;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-header { margin-bottom: 1.5rem; }

.tier-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4rem;
  color: #1A1714;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.tier-price {
  font-size: 2rem;
  font-weight: 800;
  color: #1A1714;
  letter-spacing: -0.02em;
}

.tier-price .plus { font-weight: 400; font-size: 1.2rem; color: #9A9390; }

.tier-subtitle {
  font-size: 0.85rem;
  color: #9A9390;
  margin-top: 0.3rem;
}

.tier-divider {
  height: 1px;
  background: rgba(26, 23, 20, 0.06);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.tier-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tier-features { list-style: none; padding: 0; margin: 0; }

.tier-features li {
  font-size: 0.88rem;
  color: #6B6560;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 23, 20, 0.04);
}

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

.tier-features li::before { content: "✓"; color: #C41E3A; margin-right: 0.5rem; font-weight: 700; font-size: 0.8rem; }

.tier-bottom {
  margin-top: auto;
}

.tier-timeline {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(26, 23, 20, 0.06);
}

.timeline-label { font-size: 0.72rem; color: #9A9390; text-transform: uppercase; letter-spacing: 0.06em; }
.timeline-value { font-size: 0.85rem; font-weight: 700; color: #1A1714; }

.tier-cta {
  display: block;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6B6560;
  background: #F5F2ED;
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.tier-cta:hover { background: #EBE7E2; color: #1A1714; }

.tier-cta-primary { background: #C41E3A; border-color: #C41E3A; color: #fff; }
.tier-cta-primary:hover { background: #A0162E; border-color: #A0162E; }

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #9A9390;
}

.pricing-note a { color: #C41E3A; text-decoration: underline; text-underline-offset: 3px; }

/* ===== MATRIX TABLE (Desktop) ===== */
.matrix-section { }

.matrix-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(26, 23, 20, 0.08);
  background: #FFF;
}

/* ===== MATRIX MOBILE CARDS (Mobile) ===== */
.matrix-cards-mobile { display: none; }

@media screen and (max-width: 768px) {
  .matrix-table-wrapper { display: none; }
  .matrix-cards-mobile { display: flex; flex-direction: column; gap: 1rem; }
}

.matrix-tier-card {
  background: #FFF;
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.matrix-tier-card-header {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.2rem;
  color: #1A1714;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
}

.matrix-tier-card-body { padding: 0 1.5rem 1.2rem; }

.matrix-criterion {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 23, 20, 0.04);
}

.matrix-criterion:last-child { border-bottom: none; }

.criterion-label {
  font-size: 0.78rem;
  color: #9A9390;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.criterion-value {
  font-size: 0.88rem;
  color: #1A1714;
  text-align: right;
  flex: 1;
  padding-left: 1rem;
}

.matrix-price-accent { color: #C41E3A !important; font-weight: 700; font-size: 1rem !important; }

.popular-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #C41E3A;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== TABLE STYLES ===== */
.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }

.matrix-table th, .matrix-table td {
  padding: 1.2rem 1.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(26, 23, 20, 0.05);
  vertical-align: top;
}

.matrix-table th {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.15rem;
  color: #1A1714;
  font-weight: 400;
  background: rgba(245, 242, 237, 0.5);
}

.matrix-table td:first-child { text-align: left; background: rgba(245, 242, 237, 0.3); }
.matrix-criteria { color: #1A1714; font-weight: 600; font-size: 0.85rem; }
.matrix-note { font-size: 0.78rem; color: #9A9390; display: block; margin-top: 3px; }

/* ===== SCOPE ===== */
.scope-content { max-width: 680px; margin: 0 auto; }
.scope-content > p { font-size: 0.95rem; line-height: 1.75; color: #6B6560; margin-bottom: 1.5rem; }

.scope-clause {
  background: rgba(196, 30, 58, 0.04);
  border-left: 3px solid #C41E3A;
  padding: 1.8rem 2rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}

.scope-clause h4 { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.1rem; color: #1A1714; font-weight: 400; margin-bottom: 0.2rem; }
.scope-clause p { font-size: 0.9rem; line-height: 1.75; color: #6B6560; margin-bottom: 0; }

.scope-note {
  background: #FFF;
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #6B6560;
}

.scope-note strong { color: #1A1714; }

/* ===== ADD-ONS ===== */
.addons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.addon-card {
  background: #FFF;
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 6px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.addon-card:hover { border-color: rgba(196, 30, 58, 0.2); }
.addon-icon { font-size: 1.6rem; margin-bottom: 0.7rem; }
.addon-name { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.05rem; color: #1A1714; font-weight: 400; margin-bottom: 0.3rem; }
.addon-desc { font-size: 0.78rem; color: #9A9390; margin-bottom: 0.8rem; line-height: 1.5; }
.addon-price { font-size: 0.85rem; font-weight: 700; color: #C41E3A; }

/* ===== FAQ ===== */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(26, 23, 20, 0.06); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  background: none;
  border: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1A1714;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
}

.faq-question:hover { color: #C41E3A; }
.faq-icon { font-size: 1.1rem; color: #9A9390; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 1.3rem; font-size: 0.88rem; line-height: 1.72; color: #6B6560; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== GET STARTED ===== */
.get-started-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }

.brief-form-card, .contact-card {
  background: #FFF;
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 8px;
  padding: 2.5rem;
}

.brief-form-card h3, .contact-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  color: #1A1714;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.form-subtitle { font-size: 0.88rem; color: #9A9390; margin-bottom: 2rem; }

.brief-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: #6B6560; margin-bottom: 0.35rem; letter-spacing: 0.06em; text-transform: uppercase; }

.form-group textarea, .form-group select, .form-group input {
  width: 100%;
  background: #F5F2ED;
  border: 1px solid rgba(26, 23, 20, 0.1);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1A1714;
  outline: none;
  -webkit-appearance: none;
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239A9390' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
  color: #6B6560;
}

.form-group select option { background: #FFF; color: #1A1714; }
.form-group textarea:focus, .form-group select:focus, .form-group input:focus { border-color: #C41E3A; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9A9390; }

.form-submit-btn {
  width: 100%;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #C41E3A;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.06em;
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.form-submit-btn:hover { background: #A0162E; }
.form-note { font-size: 0.75rem; color: #9A9390; text-align: center; margin-top: 1rem; }

.contact-card h3 { margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem;
  background: #F5F2ED;
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.contact-method:hover { border-color: rgba(196, 30, 58, 0.3); }
.contact-icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
.contact-label { font-size: 0.72rem; color: #9A9390; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { font-size: 0.95rem; color: #1A1714; font-weight: 600; margin-top: 2px; }

.contact-trust p { font-size: 0.82rem; line-height: 1.6; color: #9A9390; font-style: italic; padding: 1rem; background: rgba(245,242,237,0.5); border-radius: 6px; }

/* ===== FOOTER ===== */
.pricing-footer { text-align: center; padding: 3rem 2rem; border-top: 1px solid rgba(26, 23, 20, 0.06); max-width: 1080px; margin: 0 auto; }
.pricing-footer p { font-size: 0.75rem; color: #9A9390; margin-bottom: 0.8rem; }
.pricing-footer a { font-size: 0.78rem; color: #6B6560; text-decoration: none; transition: color 0.3s ease; }
.pricing-footer a:hover { color: #C41E3A; }

/* ===== MOBILE ===== */
@media screen and (max-width: 768px) {
  body.pricing-page { padding: 0; }
  .pricing-nav-top { padding: 1rem 1.2rem; }
  .pricing-hero { padding: 7rem 1.5rem 3rem; }
  .pricing-hero-title { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .page-section { padding: 3rem 1.5rem; }
  .tier-grid { grid-template-columns: 1fr; gap: 1rem; }
  .addons-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .get-started-grid { grid-template-columns: 1fr; }
  .matrix-table th, .matrix-table td { padding: 0.7rem 0.8rem; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-item:nth-child(1) { transition-delay: 0s; }
.fade-item:nth-child(2) { transition-delay: 0.08s; }
.fade-item:nth-child(3) { transition-delay: 0.16s; }
.fade-item:nth-child(4) { transition-delay: 0.24s; }
.fade-item:nth-child(5) { transition-delay: 0.32s; }
.fade-item:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-item { opacity: 1 !important; transform: none !important; }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-item:nth-child(1) { transition-delay: 0s; }
.fade-item:nth-child(2) { transition-delay: 0.08s; }
.fade-item:nth-child(3) { transition-delay: 0.16s; }
.fade-item:nth-child(4) { transition-delay: 0.24s; }
.fade-item:nth-child(5) { transition-delay: 0.32s; }
.fade-item:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .fade-item { opacity: 1 !important; transform: none !important; }
}

/* ===== SUBSCRIPTION TIER HIGHLIGHT ===== */
.tier-highlight {
  border-color: #C41E3A;
  border-width: 2px;
  position: relative;
}

.tier-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #C41E3A;
  border-radius: 8px 8px 0 0;
}

.tier-badge-dark {
  background: #1A1714;
  color: #fff;
}
