/* ==========================================================================
   ALUMUNGANDR MULTI-GATEWAY CHECKOUT COMPONENT STYLES
   Supports: Lemon Squeezy (Cards/Apple Pay), PayPal, Lynk / Jamaica JMD
   ========================================================================== */

.alu-checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.alu-checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}

.alu-checkout-modal {
  background: #090c15;
  border: 1px solid rgba(222, 88, 73, 0.35);
  border-radius: 18px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(222, 88, 73, 0.15);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  color: #f4f5f8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}

.alu-checkout-overlay.active .alu-checkout-modal {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.alu-modal-header {
  padding: 20px 24px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(222, 88, 73, 0.08) 0%, transparent 100%);
}

.alu-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alu-modal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #de5849;
  text-transform: uppercase;
  font-weight: 700;
}

.alu-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.alu-modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa0b0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
}

.alu-modal-close-btn:hover {
  background: rgba(222, 88, 73, 0.2);
  color: #ffffff;
  border-color: #de5849;
}

/* Product Summary Banner */
.alu-product-summary-card {
  margin: 18px 24px 12px;
  padding: 16px 20px;
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.alu-prod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alu-prod-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.alu-prod-license {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #38bdf8;
}

.alu-prod-pricing {
  text-align: right;
}

.alu-price-usd {
  font-size: 24px;
  font-weight: 800;
  color: #10b981;
  font-family: 'JetBrains Mono', monospace;
}

.alu-price-jmd {
  font-size: 12px;
  color: #9aa0b0;
  font-family: 'JetBrains Mono', monospace;
}

/* Gateway Tabs */
.alu-gateway-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 24px 16px;
}

.alu-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  color: #9aa0b0;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.alu-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.alu-tab-btn.active {
  background: rgba(222, 88, 73, 0.16);
  border-color: #de5849;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(222, 88, 73, 0.2);
}

.alu-tab-icon {
  font-size: 18px;
}

/* Tab Panels */
.alu-tab-panel {
  display: none;
  padding: 6px 24px 24px;
  flex-direction: column;
  gap: 16px;
}

.alu-tab-panel.active {
  display: flex;
}

/* Panel Callout Box */
.alu-callout-box {
  background: rgba(14, 18, 28, 0.9);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alu-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.alu-callout-desc {
  font-size: 13px;
  color: #9aa0b0;
  line-height: 1.55;
  margin: 0;
}

.alu-feature-pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.alu-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #cbd5e1;
}

/* Main Checkout Button */
.alu-btn-checkout {
  background: linear-gradient(135deg, #de5849 0%, #ff4838 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(222, 88, 73, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.alu-btn-checkout:hover {
  background: linear-gradient(135deg, #ff4838 0%, #ff6252 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(222, 88, 73, 0.55);
}

.alu-btn-checkout.paypal-theme {
  background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  box-shadow: 0 4px 20px rgba(0, 112, 186, 0.4);
}

.alu-btn-checkout.paypal-theme:hover {
  background: linear-gradient(135deg, #0082d8 0%, #0044b5 100%);
  box-shadow: 0 6px 26px rgba(0, 112, 186, 0.55);
}

.alu-btn-checkout.lynk-theme {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.alu-btn-checkout.lynk-theme:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.55);
}

/* Copy Row */
.alu-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  gap: 10px;
}

.alu-copy-val {
  color: #38bdf8;
  word-break: break-all;
}

.alu-btn-mini-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.alu-btn-mini-copy:hover {
  background: #de5849;
  border-color: #de5849;
}

/* Local Jamaican Dispatch Form */
.alu-dispatch-box {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alu-dispatch-label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}

.alu-dispatch-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  width: 100%;
}

.alu-dispatch-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.alu-security-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 14, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #5f6575;
  font-family: 'JetBrains Mono', monospace;
}

/* Inline Pricing Section Styles */
.commercial-store-section {
  padding: 80px 0 60px;
  position: relative;
  z-index: 10;
}

.store-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.store-card {
  background: var(--bg-surface, #0e1016);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-card:hover {
  border-color: var(--accent-coral, #de5849);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(222, 88, 73, 0.15);
}

.store-card.featured {
  border-color: var(--accent-coral, #de5849);
  background: linear-gradient(180deg, rgba(222, 88, 73, 0.07) 0%, rgba(14, 16, 22, 0.95) 100%);
  box-shadow: 0 0 35px rgba(222, 88, 73, 0.18);
}

.store-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-coral, #de5849);
  color: #fff;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.store-card-tier {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  color: var(--accent-coral, #de5849);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.store-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.store-card-desc {
  color: var(--text-secondary, #9aa0b0);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}

.store-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.store-card-price {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.store-card-period {
  font-size: 13px;
  color: var(--text-muted, #5f6575);
}

.store-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.store-card-features li {
  font-size: 13.5px;
  color: var(--text-secondary, #9aa0b0);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.store-card-features li span.check {
  color: var(--accent-green, #10b981);
  font-weight: bold;
}

@media (max-width: 600px) {
  .alu-gateway-tabs {
    grid-template-columns: 1fr;
  }
  .alu-checkout-modal {
    margin: 8px;
    max-height: 94vh;
  }
}
