/* ============================================
   Pricing Page Styles
   ============================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #0B2545 0%, #13315C 100%);
  padding: 60px 0;
  color: #fff;
}

.page-hero-content {
  max-width: 700px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Price Cards Section */
.price-cards-section {
  padding: 40px 0;
  background: #f8f8f8;
}

.price-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.price-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.price-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.metal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-icon {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
  color: #fff;
}

.silver-icon {
  background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
  color: #fff;
}

.platinum-icon {
  background: linear-gradient(135deg, #E5E4E2 0%, #B0B0B0 100%);
  color: #333;
}

.palladium-icon {
  background: linear-gradient(135deg, #F5F5F5 0%, #C8C8C8 100%);
  color: #333;
}

.metal-info {
  flex: 1;
}

.metal-name {
  font-size: 18px;
  font-weight: 700;
  color: #0B2545;
  margin: 0;
}

.metal-symbol {
  font-size: 12px;
  color: #666;
}

.price-card-body {
  margin-bottom: 16px;
}

.current-price {
  font-size: 32px;
  font-weight: 700;
  color: #0B2545;
  margin-bottom: 8px;
}

.price-change {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.price-change.positive {
  color: #2E7D32;
}

.price-change.negative {
  color: #C62828;
}

.price-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.price-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-detail .label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-detail .value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.price-update-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
  color: #666;
}

.price-update-info strong {
  color: #333;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2E7D32;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Price Table Section */
.price-table-section {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0B2545;
  margin-bottom: 32px;
  text-align: center;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.price-table thead {
  background: #0B2545;
  color: #fff;
}

.price-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.price-table tbody tr:hover {
  background: #f8f8f8;
}

.table-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-product img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
}

.table-product span {
  font-weight: 500;
  color: #333;
}

.spot-price {
  color: #666;
  font-weight: 500;
}

.our-price {
  color: #0B2545;
  font-weight: 700;
  font-size: 15px;
}

.premium {
  color: #2E7D32;
  font-weight: 600;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  background: #0B2545;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-sm:hover {
  background: #13315C;
}

/* Alert Section */
.alert-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0B2545 0%, #13315C 100%);
  color: #fff;
}

.alert-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.alert-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.alert-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.alert-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.alert-select,
.alert-input {
  flex: 1;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.alert-select option {
  color: #333;
  background: #fff;
}

.alert-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.alert-select:focus,
.alert-input:focus {
  outline: none;
  border-color: #D4AF37;
}

.form-row .btn-primary {
  padding: 14px 28px;
  background: #D4AF37;
  color: #0B2545;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.form-row .btn-primary:hover {
  background: #C5A059;
}

/* Responsive */
@media (max-width: 1199px) {
  .price-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 32px;
  }

  .price-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .alert-select,
  .alert-input {
    width: 100%;
  }

  .form-row .btn-primary {
    width: 100%;
  }

  .price-table {
    font-size: 12px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 8px;
  }

  .table-product img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 479px) {
  .page-title {
    font-size: 26px;
  }

  .current-price {
    font-size: 26px;
  }
}
