/* ============================================
   PAYLOGIC — PAYMENT GATEWAY PAGE
   css/payment-gateway.css
   ============================================ */

/* ── Hero ── */
.pg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  padding-top: 90px;
}

.pg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

/* ── Hero Content ── */
.pg-hero-content {}

.pg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(30, 109, 255, 0.12);
  border: 1px solid rgba(30, 109, 255, 0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 24px;
}

.pg-badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pgPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--cyan);
}

@keyframes pgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.pg-hero-headline {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.pg-hero-sub {
  font-size: 1.1rem;
  color: var(--silver-dim);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.pg-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.pg-hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.pg-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pg-hs-num {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pg-hs-label {
  font-size: 0.72rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pg-hero-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
  align-self: center;
}

/* ── Hero Visual — Live Terminal ── */
.pg-hero-visual {
  position: relative;
}

.pg-terminal {
  background: rgba(4, 13, 31, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(30, 109, 255, 0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

.pg-terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(10, 20, 50, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

.pg-terminal-dots {
  display: flex;
  gap: 6px;
}

.pg-terminal-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.pg-terminal-dots span:nth-child(1) { background: #ff5f56; }
.pg-terminal-dots span:nth-child(2) { background: #febc2e; }
.pg-terminal-dots span:nth-child(3) { background: #28c840; }

.pg-terminal-title {
  font-size: 0.75rem;
  color: var(--silver-dim);
  font-family: 'Courier New', monospace;
  margin-left: 8px;
}

.pg-terminal-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--success);
  padding: 3px 8px;
  background: rgba(0, 233, 154, 0.1);
  border: 1px solid rgba(0, 233, 154, 0.25);
  border-radius: 20px;
}

.pg-terminal-live::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--success);
  border-radius: 50%;
  animation: pgPulse 1.5s infinite;
}

.pg-terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* TXN Feed */
.pg-txn-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: hidden;
}

.pg-txn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(30, 109, 255, 0.06);
  border: 1px solid rgba(30, 109, 255, 0.12);
  border-radius: 10px;
  transition: all 0.3s ease;
  animation: txnSlideIn 0.4s ease both;
}

@keyframes txnSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pg-txn-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.txn-upi  .pg-txn-icon { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }
.txn-card .pg-txn-icon { background: rgba(30, 109, 255, 0.15); color: var(--blue-bright); }
.txn-nb   .pg-txn-icon { background: rgba(255, 184, 48, 0.15); color: var(--warning); }
.txn-wlt  .pg-txn-icon { background: rgba(0, 233, 154, 0.15); color: var(--success); }

.pg-txn-info {
  flex: 1;
  min-width: 0;
}

.pg-txn-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg-txn-meta {
  font-size: 0.65rem;
  color: var(--silver-dim);
}

.pg-txn-amount {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  white-space: nowrap;
}

.pg-txn-status {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.status-success { background: rgba(0, 233, 154, 0.12); color: var(--success); border: 1px solid rgba(0, 233, 154, 0.25); }
.status-pending { background: rgba(255, 184, 48, 0.12); color: var(--warning); border: 1px solid rgba(255, 184, 48, 0.25); }
.status-processing { background: rgba(30, 109, 255, 0.12); color: var(--blue-bright); border: 1px solid rgba(30, 109, 255, 0.25); }

/* Mini metrics row */
.pg-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pg-mini-metric {
  background: rgba(30, 109, 255, 0.06);
  border: 1px solid rgba(30, 109, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.pg-mm-num {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-bright);
  margin-bottom: 3px;
}

.pg-mm-label {
  font-size: 0.62rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating badges */
.pg-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10, 20, 50, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(4, 13, 31, 0.5);
  animation: floatY 3s ease-in-out infinite;
}

.pg-float-badge i { font-size: 0.85rem; }

.pg-float-badge.badge-pci  { top: -20px; right: -20px; color: var(--success); border-color: rgba(0,233,154,0.3); animation-delay: 0s; }
.pg-float-badge.badge-ssl  { bottom: 40px; left: -24px; color: var(--cyan); border-color: rgba(0,212,255,0.3); animation-delay: 1s; }
.pg-float-badge.badge-upi  { bottom: -16px; right: 30px; color: var(--warning); border-color: rgba(255,184,48,0.3); animation-delay: 2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   PAYMENT METHODS SECTION
   ============================================ */
.pg-methods-section {
  background: var(--navy-mid);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pg-methods-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(30,109,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pg-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pg-method-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(20px);
}

.pg-method-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}

.pg-method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 109, 255, 0.4);
  box-shadow: 0 20px 50px rgba(30, 109, 255, 0.2);
}

.pg-method-card:hover::before { opacity: 1; }

.pg-mc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.pg-method-card:hover .pg-mc-icon { transform: scale(1.1); }

.mc-upi   .pg-mc-icon { background: rgba(0, 212, 255, 0.15); color: var(--cyan); border: 1px solid rgba(0,212,255,0.25); }
.mc-card  .pg-mc-icon { background: rgba(30, 109, 255, 0.15); color: var(--blue-bright); border: 1px solid rgba(30,109,255,0.25); }
.mc-nb    .pg-mc-icon { background: rgba(255, 184, 48, 0.15); color: var(--warning); border: 1px solid rgba(255,184,48,0.25); }
.mc-wallet .pg-mc-icon { background: rgba(0, 233, 154, 0.15); color: var(--success); border: 1px solid rgba(0,233,154,0.25); }
.mc-bnpl  .pg-mc-icon { background: rgba(92, 164, 255, 0.15); color: var(--blue-glow); border: 1px solid rgba(92,164,255,0.25); }
.mc-emi   .pg-mc-icon { background: rgba(255, 77, 109, 0.15); color: var(--danger); border: 1px solid rgba(255,77,109,0.25); }
.mc-intl  .pg-mc-icon { background: rgba(180, 100, 255, 0.15); color: #b464ff; border: 1px solid rgba(180,100,255,0.25); }
.mc-crypto .pg-mc-icon { background: rgba(255, 140, 0, 0.15); color: #ff8c00; border: 1px solid rgba(255,140,0,0.25); }

.pg-mc-title {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.pg-mc-sub {
  font-size: 0.75rem;
  color: var(--silver-dim);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.pg-mc-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.pg-mc-tag {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(30, 109, 255, 0.12);
  border: 1px solid rgba(30, 109, 255, 0.2);
  color: var(--blue-bright);
}

.pg-methods-grid.extended {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.pg-features-section {
  background: var(--navy-deep);
  padding: 96px 0;
  position: relative;
}

.pg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pg-feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(20px);
}

.pg-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.pg-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 109, 255, 0.3);
  box-shadow: 0 16px 40px rgba(30, 109, 255, 0.15);
}

.pg-feature-card:hover::after { transform: scaleX(1); }

.pg-fc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
  background: rgba(30, 109, 255, 0.12);
  color: var(--blue-bright);
  border: 1px solid rgba(30, 109, 255, 0.2);
  transition: var(--transition);
}

.pg-feature-card:hover .pg-fc-icon {
  background: rgba(30, 109, 255, 0.2);
  box-shadow: 0 4px 16px rgba(30, 109, 255, 0.3);
  transform: scale(1.05);
}

.pg-fc-icon.cyan    { background: rgba(0,212,255,0.12); color: var(--cyan); border-color: rgba(0,212,255,0.2); }
.pg-fc-icon.green   { background: rgba(0,233,154,0.12); color: var(--success); border-color: rgba(0,233,154,0.2); }
.pg-fc-icon.amber   { background: rgba(255,184,48,0.12); color: var(--warning); border-color: rgba(255,184,48,0.2); }
.pg-fc-icon.red     { background: rgba(255,77,109,0.12); color: var(--danger); border-color: rgba(255,77,109,0.2); }
.pg-fc-icon.purple  { background: rgba(180,100,255,0.12); color: #b464ff; border-color: rgba(180,100,255,0.2); }

.pg-fc-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pg-fc-desc {
  font-size: 0.875rem;
  color: var(--silver-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pg-fc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-fc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--silver);
}

.pg-fc-list li i {
  font-size: 0.6rem;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================
   INTEGRATION SECTION
   ============================================ */
.pg-integration-section {
  background: var(--navy-mid);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.pg-integration-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Code block */
.pg-code-block {
  background: rgba(4, 13, 31, 0.95);
  border: 1px solid rgba(30, 109, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(4, 13, 31, 0.6);
  position: relative;
}

.pg-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(10, 20, 50, 0.9);
  border-bottom: 1px solid rgba(30, 109, 255, 0.15);
}

.pg-code-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.pg-code-dot:nth-child(1) { background: #ff5f56; }
.pg-code-dot:nth-child(2) { background: #febc2e; }
.pg-code-dot:nth-child(3) { background: #28c840; }

.pg-code-lang {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(30, 109, 255, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(30, 109, 255, 0.2);
}

.pg-code-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  background: rgba(4, 13, 31, 0.6);
  border-bottom: 1px solid rgba(30, 109, 255, 0.1);
}

.pg-code-tab {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--silver-dim);
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
}

.pg-code-tab.active {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.pg-code-tab:hover:not(.active) { color: var(--silver); }

.pg-code-body {
  padding: 20px;
  overflow-x: auto;
  position: relative;
  min-height: 280px;
}

.pg-code-panel { display: none; }
.pg-code-panel.active { display: block; }

.pg-code-body pre {
  font-family: 'Courier New', 'Monaco', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  color: #abb2bf;
  white-space: pre;
  overflow-x: auto;
}

/* syntax colors */
.c-key    { color: #e06c75; }
.c-str    { color: #98c379; }
.c-num    { color: #d19a66; }
.c-fn     { color: #61afef; }
.c-obj    { color: #c678dd; }
.c-cmt    { color: #5c6370; font-style: italic; }
.c-bool   { color: #56b6c2; }

.pg-copy-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(30, 109, 255, 0.12);
  border: 1px solid rgba(30, 109, 255, 0.25);
  color: var(--silver-dim);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pg-copy-btn:hover { background: rgba(30, 109, 255, 0.25); color: var(--white); }
.pg-copy-btn.copied { color: var(--success); border-color: rgba(0,233,154,0.3); }

/* Integration content */
.pg-integration-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.pg-int-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pg-int-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(30, 109, 255, 0.4);
}

.pg-int-body {}

.pg-int-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pg-int-desc {
  font-size: 0.82rem;
  color: var(--silver-dim);
  line-height: 1.6;
}

.pg-sdk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pg-sdk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(30, 109, 255, 0.08);
  border: 1px solid rgba(30, 109, 255, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--silver);
  transition: var(--transition);
  cursor: default;
}

.pg-sdk-chip:hover {
  background: rgba(30, 109, 255, 0.18);
  color: var(--white);
  border-color: rgba(30, 109, 255, 0.4);
  transform: translateY(-2px);
}

/* ============================================
   FLOW / PAYMENT LIFECYCLE
   ============================================ */
.pg-flow-section {
  background: var(--navy-deep);
  padding: 96px 0;
  position: relative;
}

.pg-flow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,212,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pg-flow-diagram {
  margin-top: 56px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.pg-flow-diagram::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.3;
}

.pg-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pg-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 110px;
  position: relative;
}

.pg-fs-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 2px solid var(--glass-border);
  background: rgba(4, 13, 31, 0.7);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.pg-flow-step.step-active .pg-fs-icon,
.pg-flow-step:hover .pg-fs-icon {
  border-color: var(--blue-electric);
  background: rgba(30, 109, 255, 0.15);
  box-shadow: 0 0 24px rgba(30, 109, 255, 0.3);
  color: var(--blue-bright);
  transform: scale(1.1);
}

.pg-fs-label {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--silver-dim);
  text-align: center;
  line-height: 1.3;
}

.pg-flow-step.step-active .pg-fs-label { color: var(--blue-bright); }

.pg-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  margin-top: -36px;
  flex-shrink: 0;
}

.pg-flow-connector .pg-fc-line {
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, rgba(30,109,255,0.3), rgba(0,212,255,0.6), rgba(30,109,255,0.3));
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.pg-flow-connector .pg-fc-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  animation: flowPulse 2s linear infinite;
}

@keyframes flowPulse {
  0% { left: -60%; }
  100% { left: 110%; }
}

.pg-flow-connector .pg-fc-ms {
  font-size: 0.6rem;
  color: var(--silver-dim);
  white-space: nowrap;
}

/* Step colors */
.step-customer .pg-fs-icon { color: var(--cyan); }
.step-checkout .pg-fs-icon { color: var(--blue-bright); }
.step-gateway  .pg-fs-icon { color: var(--warning); }
.step-bank     .pg-fs-icon { color: #b464ff; }
.step-verify   .pg-fs-icon { color: var(--blue-glow); }
.step-settled  .pg-fs-icon { color: var(--success); }

.pg-flow-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pg-fn-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--silver-dim);
}

.pg-fn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ============================================
   PRICING / RATES SECTION
   ============================================ */
.pg-pricing-section {
  background: var(--navy-mid);
  padding: 96px 0;
}

.pg-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pg-pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

.pg-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 109, 255, 0.15);
}

.pg-pricing-card.featured {
  border-color: rgba(30, 109, 255, 0.45);
  background: rgba(14, 28, 60, 0.85);
  box-shadow: 0 0 0 1px rgba(30, 109, 255, 0.3), 0 20px 60px rgba(30, 109, 255, 0.2);
}

.pg-pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.pg-pricing-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pg-pricing-plan {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver-dim);
  margin-bottom: 8px;
}

.pg-pricing-name {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.pg-pricing-desc {
  font-size: 0.82rem;
  color: var(--silver-dim);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pg-pricing-rate {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.pg-pr-num {
  font-family: var(--font-main);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.pg-pr-pct {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-bright);
}

.pg-pr-label {
  font-size: 0.72rem;
  color: var(--silver-dim);
  line-height: 1.3;
}

.pg-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.pg-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--silver);
}

.pg-pricing-features li i {
  color: var(--success);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pg-pricing-features li.dim { color: var(--silver-dim); }
.pg-pricing-features li.dim i { color: var(--silver-dim); }

.pg-pricing-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.pg-pricing-cta.outline {
  border: 1.5px solid rgba(100, 160, 255, 0.3);
  color: var(--silver);
  background: rgba(30, 109, 255, 0.06);
}
.pg-pricing-cta.outline:hover {
  border-color: var(--blue-bright);
  color: var(--white);
  background: rgba(30, 109, 255, 0.14);
}

.pg-pricing-cta.primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 109, 255, 0.4);
}
.pg-pricing-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 109, 255, 0.55);
}

/* ============================================
   SECURITY / COMPLIANCE SECTION
   ============================================ */
.pg-security-section {
  background: var(--navy-deep);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.pg-security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pg-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pg-cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.pg-cert-card:hover {
  border-color: rgba(30, 109, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 109, 255, 0.15);
}

.pg-cc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 10px;
}

.cc-green  .pg-cc-icon { background: rgba(0,233,154,0.12); color: var(--success); }
.cc-blue   .pg-cc-icon { background: rgba(30,109,255,0.12); color: var(--blue-bright); }
.cc-cyan   .pg-cc-icon { background: rgba(0,212,255,0.12); color: var(--cyan); }
.cc-amber  .pg-cc-icon { background: rgba(255,184,48,0.12); color: var(--warning); }
.cc-purple .pg-cc-icon { background: rgba(180,100,255,0.12); color: #b464ff; }
.cc-red    .pg-cc-icon { background: rgba(255,77,109,0.12); color: var(--danger); }

.pg-cc-name {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pg-cc-desc {
  font-size: 0.62rem;
  color: var(--silver-dim);
  line-height: 1.4;
}

/* Security checklist */
.pg-security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.pg-security-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.5;
}

.pg-sl-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0, 233, 154, 0.12);
  border: 1px solid rgba(0, 233, 154, 0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pg-sl-icon i { font-size: 0.6rem; color: var(--success); }

/* ============================================
   ANALYTICS / DASHBOARD SECTION
   ============================================ */
.pg-analytics-section {
  background: var(--navy-mid);
  padding: 96px 0;
  overflow: hidden;
}

.pg-analytics-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pg-dashboard-preview {
  background: rgba(4, 13, 31, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(4, 13, 31, 0.6), 0 0 0 1px rgba(30, 109, 255, 0.08);
}

.pg-dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(10, 20, 50, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

.pg-dash-title {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}

.pg-dash-date {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--silver-dim);
}

.pg-dash-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pg-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pg-kpi {
  background: rgba(30, 109, 255, 0.06);
  border: 1px solid rgba(30, 109, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.pg-kpi-num {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-bright);
  margin-bottom: 3px;
}

.pg-kpi-label {
  font-size: 0.6rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Bar chart */
.pg-bar-chart {
  background: rgba(4, 13, 31, 0.5);
  border-radius: 12px;
  padding: 16px;
}

.pg-chart-label {
  font-size: 0.7rem;
  color: var(--silver-dim);
  margin-bottom: 12px;
  font-weight: 600;
}

.pg-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.pg-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.pg-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue-electric), rgba(30,109,255,0.3));
  transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 4px;
}

.pg-bar.highlight { background: linear-gradient(180deg, var(--cyan), rgba(0,212,255,0.3)); }

.pg-bar-day {
  font-size: 0.55rem;
  color: var(--silver-dim);
}

/* payment mix donut */
.pg-mix-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.pg-mix-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-mix-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--silver-dim);
}

.pg-mix-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.pg-mix-pct {
  margin-left: auto;
  font-weight: 700;
  color: var(--silver);
  font-size: 0.7rem;
}

.pg-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Analytics content */
.pg-analytics-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.pg-af-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px 16px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.pg-af-item:hover {
  border-color: rgba(30, 109, 255, 0.3);
  transform: translateY(-2px);
}

.pg-af-icon {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: block;
}

.pg-af-title {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pg-af-desc {
  font-size: 0.72rem;
  color: var(--silver-dim);
  line-height: 1.5;
}

/* ============================================
   USE CASES / INDUSTRIES
   ============================================ */
.pg-usecases-section {
  background: var(--navy-deep);
  padding: 96px 0;
}

.pg-usecase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 48px;
}

.pg-uc-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(30, 109, 255, 0.06);
  border: 1px solid rgba(30, 109, 255, 0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silver-dim);
  cursor: pointer;
  transition: var(--transition);
}

.pg-uc-tab.active,
.pg-uc-tab:hover {
  background: rgba(30, 109, 255, 0.18);
  border-color: rgba(30, 109, 255, 0.4);
  color: var(--white);
}

.pg-uc-tab.active { box-shadow: 0 0 16px rgba(30, 109, 255, 0.25); }

.pg-uc-panel { display: none; }
.pg-uc-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.pg-uc-content {}

.pg-uc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pg-uc-title {
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pg-uc-desc {
  font-size: 0.9rem;
  color: var(--silver-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pg-uc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.pg-uc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--silver);
}

.pg-uc-list li i { color: var(--success); font-size: 0.7rem; }

.pg-uc-visual {
  position: relative;
}

.pg-uc-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px;
  backdrop-filter: blur(20px);
}

.pg-uc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.pg-uc-stat {
  background: rgba(30, 109, 255, 0.06);
  border: 1px solid rgba(30, 109, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.pg-uc-stat-num {
  display: block;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.pg-uc-stat-label {
  font-size: 0.65rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.pg-cta-section {
  background: var(--navy-mid);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.pg-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(30,109,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pg-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.pg-cta-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(30, 109, 255, 0.4);
  animation: floatY 3s ease-in-out infinite;
}

.pg-cta-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.pg-cta-desc {
  font-size: 1rem;
  color: var(--silver-dim);
  margin-bottom: 36px;
  line-height: 1.7;
}

.pg-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pg-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pg-ct-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--silver-dim);
}

.pg-ct-item i { color: var(--success); font-size: 0.7rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── 1024px — Tablet Landscape ── */
@media (max-width: 1024px) {
  /* Hero */
  .pg-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 60px 0; }
  .pg-hero-content { display: flex; flex-direction: column; align-items: center; }
  .pg-hero-sub { text-align: center; max-width: 600px; }
  .pg-hero-stats { justify-content: center; }
  .pg-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .pg-float-badge.badge-ssl { left: 0; }
  .pg-float-badge.badge-pci { right: 0; }

  /* Grids */
  .pg-methods-grid,
  .pg-methods-grid.extended { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pg-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-pricing-grid { grid-template-columns: repeat(2, 1fr); }

  /* Two-col sections → single col */
  .pg-integration-inner { grid-template-columns: 1fr; gap: 40px; }
  .pg-security-inner { grid-template-columns: 1fr; gap: 40px; }
  .pg-analytics-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Use-case panel */
  .pg-uc-panel.active { grid-template-columns: 1fr; gap: 32px; }

  /* Analytics dashboard preview full width */
  .pg-dashboard-preview { max-width: 600px; margin: 0 auto; }
}

/* ── 768px — Tablet Portrait / Large Phone ── */
@media (max-width: 768px) {
  /* Hero */
  .pg-hero { padding-top: 72px; }
  .pg-hero-inner { padding: 48px 0 40px; gap: 36px; }
  .pg-hero-headline { font-size: clamp(1.9rem, 6vw, 2.4rem); }
  .pg-hero-sub { font-size: 0.95rem; }
  .pg-hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .pg-hs-num { font-size: 1.25rem; }
  .pg-hero-divider { height: 30px; }
  .pg-hero-actions { justify-content: center; }

  /* Hide floating badges on mobile */
  .pg-float-badge { display: none; }

  /* Terminal — tighter on mobile */
  .pg-terminal-body { padding: 16px; gap: 12px; }
  .pg-terminal-bar { padding: 10px 14px; }
  .pg-terminal-title { font-size: 0.68rem; }
  .pg-mini-metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pg-mm-num { font-size: 0.88rem; }
  .pg-mm-label { font-size: 0.55rem; }

  /* Methods grid → 2 cols */
  .pg-methods-grid,
  .pg-methods-grid.extended { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pg-method-card { padding: 22px 16px; }

  /* Features → single col */
  .pg-features-grid { grid-template-columns: 1fr; }
  .pg-feature-card { padding: 24px 20px; }

  /* Flow diagram — horizontal scroll */
  .pg-flow-diagram { padding: 24px 16px 16px; overflow: hidden; }
  .pg-flow-steps { overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; gap: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pg-flow-steps::-webkit-scrollbar { display: none; }
  .pg-flow-step { min-width: 85px; flex-shrink: 0; }
  .pg-flow-connector { flex-shrink: 0; }
  .pg-fn-note { gap: 12px; }

  /* Code block — prevent overflow */
  .pg-code-block { overflow: hidden; }
  .pg-code-tabs { overflow-x: auto; gap: 2px; -webkit-overflow-scrolling: touch; }
  .pg-code-body { overflow-x: auto; }
  .pg-code-body pre { font-size: 0.7rem; white-space: pre; overflow-x: auto; min-width: 0; }
  .pg-copy-btn { font-size: 0.68rem; padding: 4px 10px; }

  /* Integration steps */
  .pg-integration-steps { gap: 16px; }
  .pg-int-step { gap: 12px; }
  .pg-sdk-chips { gap: 6px; }

  /* Pricing → single col centred */
  .pg-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

  /* Security — cert grid 2 cols */
  .pg-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pg-security-inner { gap: 36px; }
  .pg-security-list li { font-size: 0.82rem; }

  /* Analytics */
  .pg-analytics-features { grid-template-columns: 1fr; }
  .pg-dash-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pg-kpi-num { font-size: 0.9rem; }
  .pg-dash-chart-bar { height: 60px; }

  /* Use-case tabs */
  .pg-usecase-tabs { gap: 6px; flex-wrap: wrap; }
  .pg-usecase-tab { font-size: 0.75rem; padding: 8px 14px; }
  .pg-uc-stat-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .pg-cta-btns { gap: 12px; }
}

/* ── 480px — Mobile ── */
@media (max-width: 480px) {
  /* Hero */
  .pg-hero-inner { padding: 40px 0 32px; gap: 32px; }
  .pg-hero-headline { font-size: 1.75rem; line-height: 1.15; }
  .pg-hero-sub { font-size: 0.9rem; }
  .pg-hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .pg-hero-actions a { text-align: center; width: 100%; justify-content: center; }
  .pg-hero-stats { gap: 14px; }
  .pg-hero-divider { display: none; }
  .pg-hs-num { font-size: 1.15rem; }

  /* Terminal */
  .pg-txn-feed { max-height: 180px; }
  .pg-txn-item { padding: 8px 10px; gap: 8px; }
  .pg-txn-icon { width: 26px; height: 26px; font-size: 0.7rem; }
  .pg-txn-name { font-size: 0.7rem; }
  .pg-txn-amount { font-size: 0.75rem; }
  .pg-txn-status { font-size: 0.55rem; padding: 2px 6px; }
  .pg-mini-metrics { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .pg-mm-num { font-size: 0.75rem; }
  .pg-mini-metric { padding: 8px 6px; }

  /* Methods grid — 2 cols, tighter */
  .pg-methods-grid,
  .pg-methods-grid.extended { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pg-method-card { padding: 18px 12px; }
  .pg-mc-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .pg-mc-title { font-size: 0.88rem; }
  .pg-mc-sub { font-size: 0.68rem; }

  /* Features */
  .pg-feature-card { padding: 22px 18px; }
  .pg-fc-icon { width: 42px; height: 42px; font-size: 1.05rem; }
  .pg-fc-title { font-size: 0.95rem; }
  .pg-fc-desc { font-size: 0.8rem; }

  /* Flow */
  .pg-flow-diagram { padding: 16px 12px 12px; }
  .pg-flow-step { min-width: 72px; }
  .pg-fs-icon { width: 42px; height: 42px; font-size: 0.85rem; }
  .pg-fs-label { font-size: 0.6rem; }
  .pg-flow-connector .pg-fc-line { width: 20px; }
  .pg-fc-ms { font-size: 0.55rem; }
  .pg-fn-note { gap: 8px; font-size: 0.7rem; }

  /* Code block */
  .pg-code-body pre { font-size: 0.65rem; line-height: 1.6; }
  .pg-code-tab { font-size: 0.72rem; padding: 8px 10px; }

  /* Integration */
  .pg-int-step { gap: 10px; }
  .pg-int-num { width: 32px; height: 32px; font-size: 0.85rem; flex-shrink: 0; }
  .pg-int-title { font-size: 0.88rem; }
  .pg-int-desc { font-size: 0.78rem; }
  .pg-sdk-chips { gap: 6px; }
  .pg-sdk-chip { font-size: 0.72rem; padding: 5px 10px; }

  /* Pricing */
  .pg-pricing-grid { max-width: 100%; }
  .pg-pricing-card { padding: 28px 20px; }
  .pg-pricing-name { font-size: 1.3rem; }
  .pg-pr-num { font-size: 2rem; }

  /* Security */
  .pg-cert-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pg-cc-icon { width: 36px; height: 36px; font-size: 0.85rem; }
  .pg-cc-name { font-size: 0.65rem; }
  .pg-cc-desc { font-size: 0.55rem; }

  /* Analytics */
  .pg-dash-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pg-kpi-num { font-size: 0.8rem; }
  .pg-kpi-label { font-size: 0.55rem; }
  .pg-dash-header { padding: 10px 12px; }
  .pg-dash-chart { padding: 0 12px 12px; }

  /* Use-case */
  .pg-uc-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pg-usecase-tab { font-size: 0.7rem; padding: 7px 12px; }

  /* CTA */
  .pg-cta-btns { flex-direction: column; align-items: center; width: 100%; }
  .pg-cta-btns a, .pg-cta-btns button { width: 100%; text-align: center; justify-content: center; }
  .pg-cta-trust { gap: 12px; }
  .pg-ct-item { font-size: 0.68rem; }
}

/* ── 360px — Small Phones (Samsung Galaxy S, etc.) ── */
@media (max-width: 360px) {
  .pg-hero-headline { font-size: 1.55rem; }
  .pg-hero-badge { font-size: 0.62rem; padding: 5px 12px; }

  .pg-methods-grid,
  .pg-methods-grid.extended { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pg-method-card { padding: 14px 10px; }
  .pg-mc-icon { width: 38px; height: 38px; font-size: 1rem; }
  .pg-mc-title { font-size: 0.82rem; }
  .pg-mc-sub { display: none; }

  .pg-terminal-body { padding: 12px; }
  .pg-txn-item { padding: 6px 8px; }
  .pg-mini-metric { padding: 6px 4px; }
  .pg-mm-num { font-size: 0.7rem; }

  .pg-flow-step { min-width: 60px; }
  .pg-fs-icon { width: 36px; height: 36px; font-size: 0.75rem; }
  .pg-flow-connector .pg-fc-line { width: 14px; }

  .pg-cert-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pg-cc-desc { display: none; }

  .pg-pricing-card { padding: 22px 16px; }
}
