/* ==========================================================================
   Lula Sites — Pricing & Unlimited Access Styles
   ========================================================================== */

/* Top countdown sale banner below navbar */
.sale-countdown-bar {
  position: relative;
  z-index: 80;
  width: 100%;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  background-image: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 35%, #2563eb 65%, #3b82f6 85%, #60a5fa 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.sale-clock-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sale-strike-price {
  text-decoration: line-through;
  opacity: 0.75;
  margin-right: 2px;
}

.sale-accent-price {
  font-weight: 800;
  color: #ffffff;
}

.sale-time-pill {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

/* Page Main Container */
.pricing-page-main {
  min-height: 100vh;
  padding-bottom: 40px;
}

.pricing-section-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 64px 24px 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Hero Header */
.pricing-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.pricing-headline {
  color: var(--text-primary);
  font-size: clamp(22px, 4.4vw, 50px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.34;
  letter-spacing: -0.015em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pricing-headline-row {
  display: block;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .pricing-headline {
    font-size: clamp(19px, 5.2vw, 24px);
  }
}

.gradient-glow-word {
  position: relative;
  display: inline-block;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #3b82f6 100%);
}

.gradient-glow-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #3b82f6 100%);
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 520px;
  line-height: 1.6;
}

/* 3-Column Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1140px;
  margin: 12px auto 0 auto;
}

@media (min-width: 680px) and (max-width: 1040px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-cards-grid .pricing-card.lifetime {
    grid-column: span 2;
  }
}

@media (min-width: 1041px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.pricing-card {
  width: 100%;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease-snappy), box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.three-months {
  background-color: #202023;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.pricing-card.yearly {
  background-color: #242426;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.pricing-card.lifetime {
  background-color: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.card-header-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 8px;
}

.pricing-card-title {
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.32;
}

.popular-badge {
  padding: 4px 12px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background-image: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #60a5fa 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.pricing-card-sub {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 20px;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
}

.card-dashed-line {
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-strike-slot {
  min-height: 30px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 4px;
}

.price-crossed {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: rgb(150, 150, 154);
  text-decoration: line-through;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  min-height: 48px;
}

.price-amount {
  color: var(--text-primary);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.price-period {
  color: var(--text-subtle);
  font-size: 13.5px;
  line-height: 1.4;
  margin-bottom: 24px;
  min-height: 20px;
  display: flex;
  align-items: center;
}

/* CTA buttons */
.btn-pricing-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  margin-bottom: 28px;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-pricing-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-pricing-white {
  background: #ffffff;
  color: #0c0c0c;
}

.btn-pricing-gradient {
  color: #ffffff;
  background-image: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #60a5fa 100%);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-pricing-cta.is-active-plan,
.btn-pricing-cta:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 13px !important;
  padding: 0 12px !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.25 !important;
  filter: grayscale(20%);
}

/* Feature Checklists */
.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-strong {
  color: #ffffff;
  font-weight: 700;
}

.feature-new-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #3b82f6 100%);
  color: #0c0c0c;
  line-height: 1.2;
}

/* FAQ Accordion Section */
.faq-section {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 64px 24px;
}

.faq-box {
  background-color: rgb(25, 25, 25);
  border: 1px solid rgb(63, 63, 63);
  border-radius: 24px;
  overflow: hidden;
}

.faq-item {
  padding: 0 28px;
  border-top: 1px solid rgb(63, 63, 63);
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 22px;
  padding-right: 32px;
  white-space: pre-line;
}

/* Prompt Packs Section */
.packs-section {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 72px 24px;
}

.packs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 720px) {
  .packs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.packs-info-title {
  color: var(--text-primary);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.packs-info-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.5;
}

.pack-card {
  width: 100%;
  border-radius: 20px;
  padding: 32px 28px;
  background-color: rgb(38, 38, 38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.pack-selector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.pack-opt-btn {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pack-opt-btn:hover {
  color: #ffffff;
}

.pack-opt-btn.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}

/* ==========================================================================
   Checkout & VietQR Modal Styles (Apple Pay Inspired Minimalist - Light Mode)
   ========================================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
}

.checkout-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.apple-pay-sheet {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  color: #1d1d1f;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-overlay.open .apple-pay-sheet {
  transform: translateY(0) scale(1);
}

/* Apple Sheet Minimal Header */
.apple-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.apple-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: -0.01em;
}

.apple-brand-mark svg {
  color: #86868b;
}

.apple-btn-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f7;
  border: none;
  color: #86868b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.apple-btn-close:hover {
  background: #e5e5ea;
  color: #1d1d1f;
}

/* Apple Hero Summary */
.apple-hero-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.apple-plan-name {
  font-size: 14.5px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: -0.01em;
}

.apple-hero-price {
  font-size: 40px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* Apple iOS Segmented Control (Light Mode) */
.apple-segmented-control {
  background: #f2f2f7;
  padding: 3px;
  border-radius: 8px;
  display: flex;
  gap: 2px;
  margin-bottom: 26px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.apple-segment-btn {
  flex: 1;
  padding: 9px 14px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #86868b;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.apple-segment-btn.active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.checkout-tab-pane {
  display: none;
}

.checkout-tab-pane.active {
  display: block;
}

/* Apple Layout Grid */
.apple-checkout-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 740px) {
  .apple-checkout-body {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
}

/* Apple QR Card (Unboxed, Seamless on White, Large Display) */
.apple-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.apple-qr-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.co-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-loading-spinner {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
}

.apple-spinner-ring {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #1d1d1f;
  border-radius: 50%;
  animation: appleSpin 0.8s linear infinite;
}

@keyframes appleSpin {
  to { transform: rotate(360deg); }
}

/* Apple Details List - Clean Hairline Dividers in Light Mode */
.apple-details-list {
  display: flex;
  flex-direction: column;
}

.apple-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #e5e5ea;
}

.apple-detail-row.apple-content-row {
  padding: 16px 0 10px;
  border-bottom: none;
  gap: 16px;
}

.apple-row-label {
  font-size: 13.5px;
  color: #86868b;
  font-weight: 500;
}

.apple-row-label-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.apple-row-hint {
  font-size: 11.5px;
  color: #86868b;
  line-height: 1.35;
}

.apple-row-value {
  font-size: 14.5px;
  color: #1d1d1f;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apple-font-mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
}

.apple-font-tabular {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.apple-code-highlight {
  font-size: 16px;
  font-weight: 800;
  color: #000000;
  letter-spacing: 0.04em;
}

.apple-row-action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.apple-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #f2f2f7;
  border: 1px solid #e5e5ea;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #1d1d1f;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.apple-copy-btn:hover {
  background: #e5e5ea;
}

.apple-copy-btn.apple-copy-primary {
  background: #000000;
  color: #ffffff;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.apple-copy-btn.apple-copy-primary:hover {
  background: #2c2c2e;
}

/* Apple Status Bar (Light Mode Live Activity Indicator) */
.apple-status-bar {
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 6px;
  background: #f5f5f7;
  border: 1px solid #e5e5ea;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  color: #6e6e73;
  letter-spacing: -0.01em;
}

.apple-status-spinner-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  animation: appleStatusSpin 0.85s linear infinite;
  transform-origin: 50% 50%;
}

.apple-status-spinner {
  width: 14px;
  height: 14px;
  display: block;
  color: #1d1d1f;
}

@keyframes appleStatusSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* International Tab */
.apple-intl-body {
  padding: 10px 0;
}

.apple-intl-card {
  background: #f9f9fb;
  border: 1px solid #e5e5ea;
  border-radius: 0px;
  padding: 28px;
  text-align: center;
}

.apple-intl-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 6px 0;
}

.apple-intl-card p {
  font-size: 13.5px;
  color: #6e6e73;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.intl-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  border-radius: 4px;
}

.intl-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 16px;
  text-align: left;
}

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

.intl-method-item {
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.intl-method-name {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.intl-method-desc {
  font-size: 11px;
  color: #86868b;
  line-height: 1.3;
}

.apple-intl-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.apple-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.apple-btn-white {
  background: #000000;
  color: #ffffff;
}

.apple-btn-white:hover {
  background: #2c2c2e;
  transform: translateY(-1px);
}

.apple-btn-glass {
  background: #e5e5ea;
  color: #1d1d1f;
  border: 1px solid #d1d1d6;
}

.apple-btn-glass:hover {
  background: #d1d1d6;
}

.apple-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* Apple Success View */
.apple-success-view {
  padding: 30px 10px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.apple-success-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.12);
  border: 2px solid #30d158;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(48, 209, 88, 0.2);
  margin-bottom: 6px;
}

.apple-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.02em;
}

.apple-success-desc {
  font-size: 13.5px;
  color: #6e6e73;
  max-width: 400px;
  margin: 0;
  line-height: 1.5;
}

.apple-success-order {
  font-size: 12.5px;
  color: #6e6e73;
  background: #f2f2f7;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.apple-success-order strong {
  color: #1d1d1f;
  font-family: ui-monospace, monospace;
}

