/**
 * PradhiCA — DOT 3.0 payment pages (Direct + Online)
 * Scope: body.pg-dot3-pay
 * Palette: amber/slate (Direct) · cyan/sky (Online) — distinct from DOT 2.0 violet/teal
 */
.pg-dot3-pay {
  scroll-behavior: smooth;
  font-family: "DM Sans", "Work Sans", system-ui, sans-serif;
}

.pg-dot3-pay .ec-nav {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

/* Hero — Direct (slate + amber) */
.pg-dot3-pay--direct .pg-pay-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  color: #fff;
  background: linear-gradient(128deg, #0c1222 0%, #1e293b 38%, #78350f 58%, #d97706 100%);
}

.pg-dot3-pay--direct .pg-pay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 20%, rgba(251, 191, 36, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 0%, rgba(148, 163, 184, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, 0.07) 0%, transparent 40%);
  pointer-events: none;
}

/* Hero — Online (cyan / sky) */
.pg-dot3-pay--online .pg-pay-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  color: #fff;
  background: linear-gradient(128deg, #083344 0%, #0e7490 38%, #0891b2 58%, #06b6d4 100%);
}

.pg-dot3-pay--online .pg-pay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 12% 25%, rgba(34, 211, 238, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(6, 182, 212, 0.28) 0%, transparent 50%),
    radial-gradient(circle at 75% 88%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.pg-dot3-pay .pg-pay-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.pg-dot3-pay .pg-pay-hero .container {
  position: relative;
  z-index: 1;
}

.pg-dot3-pay .pg-pay-hero .breadcrumb {
  font-size: 0.875rem;
}

.pg-dot3-pay .pg-pay-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.82) !important;
}

.pg-dot3-pay .pg-pay-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95) !important;
}

.pg-dot3-pay .pg-pay-hero h1 {
  font-family: "DM Sans", "Maven Pro", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 28px rgba(0, 0, 0, 0.25);
}

.pg-dot3-pay .pg-pay-hero h1 i {
  color: rgba(255, 255, 255, 0.95) !important;
}

.pg-dot3-pay .pg-pay-hero .pg-pay-sub {
  color: rgba(255, 255, 255, 0.94) !important;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.pg-dot3-pay .pg-pay-hero .pg-pay-sub strong {
  color: #ffffff !important;
  font-weight: 700;
}

.pg-dot3-pay .pg-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0.35rem 0.35rem 0 0;
}

.pg-dot3-pay .pg-pay-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pg-dot3-pay .pg-pay-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.pg-dot3-pay--direct .pg-pay-trust__item i {
  color: #fcd34d;
}

.pg-dot3-pay--online .pg-pay-trust__item i {
  color: #a5f3fc;
}

.pg-dot3-pay .pg-pay-intro {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 50px rgba(15, 23, 42, 0.08);
  padding: 1.5rem 1.35rem;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.pg-dot3-pay .pg-pay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
}

.pg-dot3-pay .pg-pay-intro .btn-link-back {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.pg-dot3-pay--direct.pg-single {
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 18%, #ffffff 45%);
}

.pg-dot3-pay--online.pg-single {
  background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 18%, #ffffff 45%);
}

.pg-dot3-pay .pg-single__tier {
  margin: 2.75rem 0 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  text-align: center;
}

@media (min-width: 768px) {
  .pg-dot3-pay .pg-single__tier {
    text-align: left;
  }
}

.pg-dot3-pay--direct .pg-single__tier h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem 1.15rem;
  font-family: "DM Sans", "Maven Pro", sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
  border: 1px solid #fcd34d;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

.pg-dot3-pay--direct .pg-single__tier .text-primary {
  color: #d97706 !important;
}

.pg-dot3-pay--online .pg-single__tier h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem 1.15rem;
  font-family: "DM Sans", "Maven Pro", sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e7490;
  background: linear-gradient(135deg, #cffafe 0%, #fff 100%);
  border: 1px solid #67e8f9;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.12);
}

.pg-dot3-pay--online .pg-single__tier .text-primary {
  color: #0891b2 !important;
}

.pg-dot3-pay .pg-single__features {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.35rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

@media (min-width: 992px) {
  .pg-dot3-pay .pg-single__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pg-dot3-pay .pg-single__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pg-dot3-pay--direct .pg-single__features i {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: #fff;
  background: linear-gradient(135deg, #b45309, #d97706);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.pg-dot3-pay--online .pg-single__features i {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: #fff;
  background: linear-gradient(135deg, #0e7490, #06b6d4);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}

.pg-dot3-pay .pg-price-card {
  position: relative;
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pg-dot3-pay--direct .pg-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b45309, #d97706, #fbbf24);
  opacity: 0.9;
}

.pg-dot3-pay--online .pg-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0e7490, #0891b2, #22d3ee);
  opacity: 0.95;
}

.pg-dot3-pay--direct .pg-price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.15), 0 24px 56px rgba(15, 23, 42, 0.1) !important;
}

.pg-dot3-pay--online .pg-price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.18), 0 24px 56px rgba(15, 23, 42, 0.1) !important;
}

.pg-dot3-pay .pg-price-col--featured .pg-price-card::before {
  height: 5px;
  background: linear-gradient(90deg, #059669, #10b981, #34d399);
}

.pg-dot3-pay .pg-price-col--featured .pg-price-card {
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.18), 0 20px 50px rgba(15, 23, 42, 0.1) !important;
}

.pg-dot3-pay .pg-price-col--featured .pg-price-card::after {
  content: "Popular";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #047857;
  background: #d1fae5;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  z-index: 2;
}

.pg-dot3-pay .pg-price-card .card-header {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%) !important;
  border-color: #f1f5f9 !important;
}

.pg-dot3-pay .pg-price-card .card-header h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: #0f172a;
  line-height: 1.35;
}

.pg-dot3-pay .pg-price-card .card-header.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  flex: 1;
}

.pg-dot3-pay .pg-price-card .display-4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 4vw, 2.35rem) !important;
  color: #047857;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pg-dot3-pay .pg-price-card .display-4 {
    background: linear-gradient(135deg, #047857, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.pg-dot3-pay .pg-price-card .card-header.py-5 p {
  color: #64748b;
  font-size: 0.8125rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.pg-dot3-pay .pg-price-card .card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 4.5rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9) !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 1.35rem 1.1rem !important;
  margin-top: auto;
}

.pg-dot3-pay .pg-price-card .razorpay-embed-btn {
  display: inline-block;
}

.pg-dot3-pay .pg-venue-block {
  margin-top: 3rem;
  padding: 0;
  background: transparent;
  border: none;
}

.pg-dot3-pay .pg-venue-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0c1222 0%, #78350f 40%, #d97706 100%);
  box-shadow: 0 20px 60px rgba(217, 119, 6, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-dot3-pay .pg-venue-block__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pg-dot3-pay .pg-venue-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-dot3-pay .pg-venue-block__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 0.5rem;
}

.pg-dot3-pay .pg-venue-block__title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #ffffff !important;
}

.pg-dot3-pay .pg-venue-block__title i {
  color: #fcd34d !important;
}

.pg-dot3-pay .pg-venue-block__brand {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #fef3c7;
}

.pg-dot3-pay .pg-venue-block__address {
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
  margin: 0 0 1.35rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.94);
}

.pg-dot3-pay .pg-venue-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: #fff;
  color: #92400e !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-dot3-pay .pg-venue-block__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  color: #78350f !important;
}

.pg-dot3-pay .pg-online-block {
  margin-top: 3rem;
  padding: 0;
  background: transparent;
  border: none;
}

.pg-dot3-pay .pg-online-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #083344 0%, #0e7490 45%, #06b6d4 100%);
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-dot3-pay .pg-online-block__inner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pg-dot3-pay .pg-online-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-dot3-pay .pg-online-block__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 0.5rem;
}

.pg-dot3-pay .pg-online-block__title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #ffffff !important;
}

.pg-dot3-pay .pg-online-block__title i {
  color: #a5f3fc;
}

.pg-dot3-pay .pg-online-block__text {
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.92);
}

.pg-dot3-pay .pg-online-block__text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-dot3-pay .pg-online-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: #fff;
  color: #0e7490 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-dot3-pay .pg-online-block__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  color: #083344 !important;
}

@media (min-width: 768px) {
  .pg-dot3-pay .pg-venue-block__inner,
  .pg-dot3-pay .pg-online-block__inner {
    padding: 2.25rem 2.5rem;
  }
}

/* Two-column Inter pricing: keep cards aligned and balanced */
.pg-dot3-pay .row.align-items-stretch > [class*="col-md-6"] .pg-price-card {
  min-height: 100%;
}

.pg-dot3-pay .pg-price-card .card-header:first-child {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-dot3-pay .pg-pay-intro .btn-link-back {
  transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.pg-dot3-pay .pg-pay-intro .btn-link-back:hover {
  transform: translateY(-1px);
}

.pg-dot3-pay .pg-pay-intro .btn-link-back:active {
  transform: scale(0.98);
}

.pg-dot3-pay .pg-price-card:active {
  transform: translateY(-4px) scale(0.995);
}

@media (prefers-reduced-motion: reduce) {
  .pg-dot3-pay {
    scroll-behavior: auto;
  }

  .pg-dot3-pay .pg-price-card,
  .pg-dot3-pay .pg-venue-block__btn,
  .pg-dot3-pay .pg-online-block__btn,
  .pg-dot3-pay .pg-pay-intro .btn-link-back {
    transition: none;
  }

  .pg-dot3-pay .pg-price-card:hover,
  .pg-dot3-pay .pg-price-card:active,
  .pg-dot3-pay .pg-pay-intro .btn-link-back:hover {
    transform: none;
  }
}
