/**
 * PradhiCA — DOT 2.0 payment pages (Direct + Online)
 * Scope: body.pg-dot2-pay
 */
.pg-dot2-pay {
  scroll-behavior: smooth;
  font-family: "DM Sans", "Work Sans", system-ui, sans-serif;
}

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

/* Hero — Direct (indigo + violet DOT 2.0) */
.pg-dot2-pay--direct .pg-pay-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  color: #fff;
  background: linear-gradient(128deg, #1e1b4b 0%, #312e81 38%, #4c1d95 58%, #1d4ed8 100%);
}

.pg-dot2-pay--direct .pg-pay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 20%, rgba(139, 92, 246, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, 0.07) 0%, transparent 40%);
  pointer-events: none;
}

/* Hero — Online (teal) */
.pg-dot2-pay--online .pg-pay-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
  color: #fff;
  background: linear-gradient(128deg, #042f2e 0%, #0f766e 38%, #115e59 58%, #0d9488 100%);
}

.pg-dot2-pay--online .pg-pay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 12% 25%, rgba(45, 212, 191, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 75% 88%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.pg-dot2-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-dot2-pay .pg-pay-hero .container {
  position: relative;
  z-index: 1;
}

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

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

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

.pg-dot2-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-dot2-pay .pg-pay-hero h1 i {
  color: rgba(255, 255, 255, 0.95) !important;
}

.pg-dot2-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-dot2-pay .pg-pay-hero .pg-pay-sub strong {
  color: #ffffff !important;
  font-weight: 700;
}

.pg-dot2-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-dot2-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-dot2-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-dot2-pay--direct .pg-pay-trust__item i {
  color: #c4b5fd;
}

.pg-dot2-pay--online .pg-pay-trust__item i {
  color: #99f6e4;
}

.pg-dot2-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-dot2-pay .pg-pay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
}

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

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

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

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

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

.pg-dot2-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: #5b21b6;
  background: linear-gradient(135deg, #ede9fe 0%, #fff 100%);
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.pg-dot2-pay--direct .pg-single__tier .text-primary {
  color: #7c3aed !important;
}

.pg-dot2-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: #134e4a;
  background: linear-gradient(135deg, #ccfbf1 0%, #fff 100%);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
}

.pg-dot2-pay--online .pg-single__tier .text-primary {
  color: #0d9488 !important;
}

.pg-dot2-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-dot2-pay .pg-single__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pg-dot2-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-dot2-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, #6d28d9, #7c3aed);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.35);
}

.pg-dot2-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, #0d9488, #14b8a6);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.pg-dot2-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-dot2-pay--direct .pg-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6d28d9, #7c3aed, #8b5cf6);
  opacity: 0.9;
}

.pg-dot2-pay--online .pg-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d9488, #14b8a6, #2dd4bf);
  opacity: 0.95;
}

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

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

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

.pg-dot2-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-dot2-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-dot2-pay .pg-price-card .card-header {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%) !important;
  border-color: #f1f5f9 !important;
}

.pg-dot2-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-dot2-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-dot2-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-dot2-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-dot2-pay .pg-price-card .card-header.py-5 p {
  color: #64748b;
  font-size: 0.8125rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.pg-dot2-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-dot2-pay .pg-price-card .razorpay-embed-btn {
  display: inline-block;
}

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

.pg-dot2-pay .pg-venue-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #1d4ed8 100%);
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-dot2-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-dot2-pay .pg-venue-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-dot2-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-dot2-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-dot2-pay .pg-venue-block__title i {
  color: #c4b5fd !important;
}

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

.pg-dot2-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-dot2-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: #4c1d95 !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-dot2-pay .pg-venue-block__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  color: #1e1b4b !important;
}

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

.pg-dot2-pay .pg-online-block__inner {
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 45%, #0d9488 100%);
  box-shadow: 0 20px 60px rgba(13, 148, 136, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.pg-dot2-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-dot2-pay .pg-online-block__inner > * {
  position: relative;
  z-index: 1;
}

.pg-dot2-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-dot2-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-dot2-pay .pg-online-block__title i {
  color: #99f6e4;
}

.pg-dot2-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-dot2-pay .pg-online-block__text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-dot2-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: #042f2e !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-dot2-pay .pg-online-block__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  color: #042f2e !important;
}

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

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

  .pg-dot2-pay .pg-price-card,
  .pg-dot2-pay .pg-venue-block__btn,
  .pg-dot2-pay .pg-online-block__btn {
    transition: none;
  }

  .pg-dot2-pay .pg-price-card:hover {
    transform: none;
  }
}
