/* ========================================================
   MODERN DARK LUXURY PRICING (MATCHING EXACT USER DESIGN)
   ======================================================== */
.pricing-modal-container {
  background: #0f0f11 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95) !important;
  width: 100% !important;
  max-width: 1220px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: min(95vh, 95dvh);
}

.pricing-modal-header-sleek {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px 0;
}

.pricing-toggle-wrap-sleek {
  display: flex;
  justify-content: center;
  margin: 8px 0 36px;
}
.pricing-toggle-pill-sleek {
  display: inline-flex;
  align-items: center;
  background: #1c1c1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}
.pricing-toggle-btn-sleek {
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.pricing-toggle-btn-sleek:hover {
  color: #ffffff;
}
.pricing-toggle-btn-sleek.active {
  background: #2b2b30;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.pricing-save-blue {
  color: #3b82f6;
  font-weight: 600;
  margin-left: 2px;
}

.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tier-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.tier-header-wrap {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
}
.tier-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  padding-right: 14px;
  background: #161618;
  z-index: 2;
}
.tier-pinstripes {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.14) 0px,
    rgba(255, 255, 255, 0.14) 1px,
    transparent 1px,
    transparent 4px
  );
  z-index: 1;
}

.tier-subtitle {
  font-size: 13px;
  color: #71717a;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tier-recommended {
  color: #3b82f6;
  font-weight: 600;
}

.tier-price-box {
  margin-top: 36px;
}
.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.tier-price-val {
  font-size: 42px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price-period {
  font-size: 13.5px;
  color: #a1a1aa;
  font-weight: 500;
}
.tier-price-struck {
  color: #71717a;
  margin-left: 2px;
}
.tier-billing-note {
  font-size: 13px;
  color: #71717a;
  margin-top: 8px;
}

.tier-desc {
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #9ca3af;
  flex-grow: 1;
  min-height: 80px;
}

.tier-subscribe-btn {
  margin-top: 28px;
  width: 100%;
  padding: 13px 0;
  background: #e4e4e7;
  color: #18181b;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  font-family: inherit;
}
.tier-subscribe-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.18);
}
.tier-subscribe-btn.current {
  background: #27272a;
  color: #a1a1aa;
  cursor: default;
}

.pricing-free-bar {
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #a1a1aa;
}

/* My Account Styles */
.account-overview-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.account-user-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-big-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.account-big-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-names {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.account-full-name {
  font-size: 17px;
  font-weight: 800;
  color: white;
}
.account-email {
  font-size: 13px;
  color: var(--text-muted);
}
.account-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}

.account-stat-box {
  background: #090c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.invoices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 10px;
}
.invoices-table th {
  text-align: left;
  padding: 8px 12px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}
.invoices-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

/* Checkout Modal Styles */
.checkout-summary-box {
  background: #090c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}
.checkout-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.checkout-row.total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 800;
  color: white;
}
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.payment-method-btn {
  background: #0d111a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.payment-method-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: #818cf8;
  color: white;
}

.google-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.google-signin-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.google-signin-btn svg {
  width: 18px;
  height: 18px;
}
