/* =====================================================
   PRICING.CSS - PrintStudio by Studio2
   ===================================================== */

/* =====================================================
   HERO
   ===================================================== */

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at top left, #ede9fe 0%, transparent 30%),
    radial-gradient(circle at bottom right, #ffe7d6 0%, transparent 30%),
    linear-gradient(135deg, #ffffff, #f8fafc);
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.pricing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.pricing-title {
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.pricing-description {
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* =====================================================
   SECTION HEADER
   ===================================================== */

.pricing-section-header {
  margin-bottom: 44px;
}

.pricing-section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.pricing-section-header p {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 600px;
}

.pricing-section-header.text-center p {
  margin: 0 auto;
}

/* =====================================================
   POSTER SIZE GRID  (4 columns on desktop)
   ===================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* =====================================================
   PRICING CARD
   ===================================================== */

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: 26px;
  background-color: white;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.featured-card {
  border: 2px solid rgba(124,58,237,0.2);
  box-shadow: 0 18px 40px rgba(124,58,237,0.1);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  width: fit-content;
}

.premium-badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-pink));
  color: white;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.pricing-card-text {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: 20px;
  flex: 1;
}

.pricing-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.2;
}

.pricing-price:last-child {
  margin-bottom: 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 900;
}

/* =====================================================
   PREMIUM SECTION BG
   ===================================================== */

.premium-section {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.025));
}

/* =====================================================
   FRAME / DISCOUNT GRID  (4 columns on desktop)
   ===================================================== */

.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* =====================================================
   PREMIUM CARD  (frames + discounts)
   ===================================================== */

.premium-card {
  position: relative;
  overflow: hidden;
  padding: 32px 26px;
  border-radius: 28px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.silver-card {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.gold-card {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.diamond-card {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

/* Platinum — done inline in HTML, no extra class needed */

.featured-premium {
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.featured-premium:hover {
  transform: scale(1.04) translateY(-4px);
}

.premium-label {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.18);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.premium-card h3 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.premium-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
}

.premium-price {
  margin-top: 16px;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* =====================================================
   STORY BOOK OFFER
   ===================================================== */

.book-offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px 48px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-pink));
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.book-offer-card::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  right: -100px;
  top: -120px;
  pointer-events: none;
}

.book-offer-left {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.offer-tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.book-offer-left h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.book-offer-left p {
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 22px;
  font-size: 1rem;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.book-tags span {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
}

.book-offer-right {
  min-width: 220px;
  text-align: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.old-price {
  font-size: 1.6rem;
  text-decoration: line-through;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.new-price {
  font-size: 3.4rem;
  font-weight: 900;
  margin-bottom: 22px;
  color: white;
  letter-spacing: -1px;
  line-height: 1;
}

/* =====================================================
   HOW TO ORDER
   ===================================================== */

.guide-box {
  background-color: white;
  border-radius: 32px;
  padding: 44px;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: var(--shadow-sm);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.guide-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #faf5ff);
  border: 1px solid rgba(124,58,237,0.08);
}

.guide-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-pink));
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.guide-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.guide-card p {
  line-height: 1.75;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* =====================================================
   CUSTOM ORDER
   ===================================================== */

.custom-order-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 40px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: var(--shadow-md);
}

.custom-order-content {
  max-width: 680px;
}

.custom-tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.custom-order-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.custom-order-content p {
  line-height: 1.8;
  margin-bottom: 22px;
  color: var(--color-text-light);
}

.custom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-tags span {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background-color: white;
  border: 1px solid rgba(226,232,240,0.9);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.custom-order-action {
  flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Laptop */
@media (max-width: 1200px) {
  .pricing-grid,
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .pricing-hero {
    padding: 130px 0 70px;
  }

  .pricing-title {
    font-size: 4rem;
  }

  .book-offer-card,
  .custom-order-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-offer-right {
    text-align: left;
    min-width: unset;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-box {
    padding: 32px;
  }

  .custom-order-box {
    padding: 32px;
  }

  .featured-premium {
    transform: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 115px 0 60px;
  }

  .pricing-title {
    font-size: 3rem;
    line-height: 1.05;
  }

  .pricing-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 24px;
  }

  .premium-card {
    padding: 28px 22px;
  }

  .premium-card h3 {
    font-size: 2rem;
  }

  .book-offer-card,
  .custom-order-box {
    padding: 30px 26px;
    border-radius: 28px;
    gap: 28px;
  }

  .book-offer-left h2 {
    font-size: 2.2rem;
  }

  .new-price {
    font-size: 2.8rem;
  }

  .guide-box {
    padding: 26px;
  }

  .featured-premium {
    transform: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .pricing-title {
    font-size: 2.5rem;
  }

  .pricing-section-header h2 {
    font-size: 2rem;
  }

  .premium-card h3 {
    font-size: 1.8rem;
  }

  .new-price {
    font-size: 2.4rem;
  }

  .custom-order-box {
    padding: 24px 20px;
  }
}

/* =====================================================
   PLATINUM CARD  (10x14 frame + Platinum discount)
   ===================================================== */

.platinum-card {
  background: linear-gradient(135deg, #6d28d9, #7c3aed, #ec4899);
  box-shadow: 0 20px 50px rgba(124,58,237,0.35);
}

.platinum-card .premium-label {
  background: rgba(255,255,255,0.2);
}
/* =====================================================
   SMART PRICE CALCULATOR
   ===================================================== */

.smart-calc-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(124,58,237,0.10);
  overflow: hidden;
  border: 1.5px solid rgba(124,58,237,0.10);
}

/* TABS */
.calc-tabs {
  display: flex;
  background: #f8f6ff;
  border-bottom: 1.5px solid rgba(124,58,237,0.10);
  overflow-x: auto;
}

.calc-tab {
  flex: 1;
  min-width: 140px;
  padding: 16px 10px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.calc-tab.active {
  background: #fff;
  color: #7c3aed;
  border-bottom: 3px solid #7c3aed;
}

/* PANEL */
.calc-panel {
  padding: 32px;
}

/* FIELDS GRID */
.calc-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-field select,
.calc-field input {
  padding: 12px 14px;
  border: 1.5px solid rgba(124,58,237,0.18);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #1e1b4b;
  background: #faf8ff;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: #7c3aed;
}

/* RESULT BOX */
.calc-result-box {
  background: linear-gradient(135deg, #f8f6ff 0%, #fdf2f8 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid rgba(124,58,237,0.12);
}

.calc-result-breakdown {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #475569;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(124,58,237,0.12);
}

.calc-result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calc-result-total span {
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
}

.calc-result-total strong {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-discount-badge {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-align: center;
}

.calc-wa-btn {
  width: 100%;
  justify-content: center;
  display: flex;
}

.calc-note {
  font-size: 0.82rem;
  color: #94a3b8;
  text-align: center;
  padding: 16px 24px;
  border-top: 1px solid rgba(124,58,237,0.08);
}

@media (max-width: 600px) {
  .calc-panel {
    padding: 20px 16px;
  }
  .calc-tabs {
    flex-direction: column;
  }
  .calc-tab {
    text-align: left;
    border-bottom: 1px solid rgba(124,58,237,0.08);
  }
  .calc-tab.active {
    border-bottom: none;
    border-left: 3px solid #7c3aed;
  }
}

/* =====================================================
   DELIVERY PARTNERS BOX
   ===================================================== */

.delivery-partners-box {
  margin-top: 10px;
  background: #f8f6ff;
  border: 1.5px solid rgba(124,58,237,0.15);
  border-radius: 12px;
  padding: 14px;
}

.partners-note {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.partner-chip {
  background: white;
  border: 1.5px solid rgba(124,58,237,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4c1d95;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.partner-chip:hover {
  border-color: #7c3aed;
  background: #ede9fe;
}

.partner-chip.selected {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  border-color: transparent;
}

.partners-rate {
  font-size: 0.78rem;
  color: #7c3aed;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
