﻿:root{
  --bkash:#E2136E;
  --bkash-dark:#c70f5e;
}

/* Typography helpers */
.h2{font-size:1.6rem;line-height:1.3;margin:0}
.body{font-size:1rem;line-height:1.6}
.note{font-size:.9rem;color:var(--muted)}
.tabular{font-variant-numeric: tabular-nums}

/* Stepper */
.stepper{max-width:1100px;margin:10px auto 0;padding:0 16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.step{display:flex;align-items:center;gap:8px;color:var(--muted)}
.step .dot{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--border);color:var(--muted);font-weight:800;font-size:.85rem;background:#fff}
.step.active{color:#0b5394}
.step.active .dot{border-color:#bfe9ff;box-shadow:0 0 0 3px rgba(0,174,255,.18)}
.step .sep{width:24px;height:2px;background:#e4e7ec;border-radius:2px}

/* Credits pages styling (match PORAKU inner design; no header/footer) */

/* Lightweight page header container (reuse site-header background) */
.simple-header .header-bar{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;height:64px}
.simple-header .brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.simple-header .brand-logo{height:36px;width:auto;display:block}
.simple-header .nav-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid var(--border);padding:8px 12px;border-radius:10px;color:inherit;background:#fff}
.simple-header .nav-link:hover{background:#ffffffcc}

.buy-wrap{max-width:1100px;margin:24px auto;padding:0 16px}
.buy-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.buy-hero h1{margin:0}
.buy-hero .sub{color:var(--muted);display:inline-flex;align-items:center;gap:8px}
.breadcrumbs{max-width:1100px;margin:10px auto 0;padding:0 16px;color:var(--muted);font-size:.95rem}
.breadcrumbs a{text-decoration:none;color:inherit}
.breadcrumbs .sep{margin:0 6px}
.info-bar{max-width:1100px;margin:8px auto 0;padding:8px 12px;display:flex;align-items:center;gap:8px;color:var(--muted);border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-md)}
.info-bar .ico{filter:grayscale(1);}
.buy-hero .bkash-badge{height:20px;width:auto;vertical-align:middle}

.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;position:relative}
.plan-card{background:#fff !important;border:1px solid var(--border);border-radius:16px;box-shadow:0 8px 28px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.06);padding:18px;display:grid;gap:8px;transition:transform .16s ease, box-shadow .16s ease;text-align:center}
.plan-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(16,24,40,.12),0 4px 10px rgba(16,24,40,.08)}
.plan-card .pill{display:inline-block;background:#f0f9ff;border:1px solid #d6e4ff;color:#0b5394;padding:6px 10px;border-radius:999px;font-weight:800;font-size:.9rem}
.plan-card h3{margin:4px 0 0 0;font-size:2rem;line-height:1.2;font-weight:800}
.plan-card .muted{color:var(--muted)}
.plan-card .features{color:var(--muted);font-size:.95rem}
.plan-card .pc{color:var(--muted)}
.plan-card .pc strong{color:var(--text)}
.plan-card .save{color:#067647;font-weight:800}
.plan-card .divider{height:1px;background:var(--border);margin:6px 0}
.plan-card .price .amount{font-weight:800}
.plan-card .buy-actions{margin-top:6px;justify-self:stretch;width:100%}
.plan-card.highlight{box-shadow:0 12px 32px rgba(0,174,255,.18), var(--shadow-lg);border-color:#bfe9ff}
.plan-card.highlight{transform:scale(1.02)}
.plan-card.highlight .pill{background:#fff0f7;border-color:#ffcce3;color:#c70f5e}
.ribbon{position:absolute;top:-10px;right:-10px;transform:rotate(10deg);background:var(--bkash);color:#fff;padding:6px 10px;border-radius:999px;box-shadow:var(--shadow-md);font-weight:800}

.center{text-align:center}
.btn-cta{border:0;border-radius:12px;padding:12px 16px;font-weight:800;background:#8A2BE2;color:#fff;cursor:pointer;box-shadow:0 6px 20px rgba(138,43,226,.25)}
.btn-cta:hover{filter:brightness(1.03);transform:translateY(-1px);background:#6f22b8}
.btn-cta[disabled]{opacity:.6;cursor:not-allowed;transform:none;filter:none;box-shadow:none}
.btn-cta.pulse{animation:pulseBtn 1.2s ease-in-out infinite}
@keyframes pulseBtn{0%,100%{transform:none}50%{transform:scale(1.015)}}

/* Payment page */
.bkash-steps{margin:0 0 10px 18px}
.bkash-steps li{margin:6px 0}
.field{margin:10px 0}
.input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border)}
.input:focus{outline:none;border-color:#bfe9ff;box-shadow:0 0 0 3px rgba(0,174,255,.18)}
.field .error-text{color:#B42318;font-weight:700;margin-top:6px}
.help{color:var(--muted);font-size:.9rem}
.row{display:flex;gap:8px;margin-top:10px}
.btn-primary{border:0;border-radius:10px;padding:12px 14px;font-weight:800;background:var(--bkash);color:#fff;cursor:pointer}
.btn-ghost{border:1px solid var(--border);background:#fff;color:var(--text);border-radius:10px;padding:12px 14px;cursor:pointer}
.btn-primary[disabled], .btn-ghost[disabled]{opacity:.6;cursor:not-allowed}
.btn-primary.loading{position:relative;color:transparent}
.btn-primary.loading::after{content:"";position:absolute;inset:0;display:block;margin:auto;width:18px;height:18px;border:2px solid rgba(16,24,40,.25);border-top-color:#003044;border-radius:50%;animation:spin .8s linear infinite}
.btn-primary:hover{background:var(--bkash-dark)}
.form-status{margin-top:8px;color:var(--muted)}
.btn-small{padding:6px 10px;border-radius:10px;border:1px solid var(--border);background:#fff;cursor:pointer}

.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-top:16px}
/* Payment wrapper with horizontal padding */
.pay-wrap{max-width:1100px;margin:24px auto;padding:0 24px}
/* Floating hero card like a banner */
.hero-card{background:linear-gradient(180deg,#f6fbff,#ffffff);border:1px solid var(--border);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow-md);margin-bottom:16px}
.bkash-logo-hero{height:34px;width:auto}
.pay-card{padding:10px 24px !important;display:grid;align-content:start;justify-items:stretch;text-align:left}
.pay-card h1{margin:6px 0;text-align:center}
.pay-card .bkash-steps{margin:0 0 6px 0;text-align:left;list-style-position:outside}
.ico-btn{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px}
.actions-full{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.actions-full .btn-primary,.actions-full .btn-ghost{width:100%}

/* Sticky CTA for mobile */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fffffff2;backdrop-filter:saturate(140%) blur(6px);border-top:1px solid var(--border);box-shadow:0 -6px 18px rgba(16,24,40,.08);display:none}
.sticky-cta .inner{max-width:1100px;margin:0 auto;padding:10px 14px;display:flex;align-items:center;gap:10px;justify-content:space-between}
.sticky-cta .summary{display:flex;align-items:center;gap:10px;color:var(--muted)}
.sticky-cta .summary .strong{font-weight:800;color:var(--text)}
.sticky-cta .actions{display:flex;gap:8px}
.sticky-cta .btn-cta{border:0;border-radius:12px;padding:12px 16px;font-weight:800;background:#8A2BE2;color:#fff;cursor:pointer;box-shadow:0 6px 20px rgba(138,43,226,.25)}
@media (max-width:760px){ .sticky-cta{display:block} }

/* Sticky bar for payment summary */
.sticky-pay{position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fffffff2;backdrop-filter:saturate(140%) blur(6px);border-top:1px solid var(--border);box-shadow:0 -6px 18px rgba(16,24,40,.08);display:none}
.sticky-pay .inner{max-width:1100px;margin:0 auto;padding:10px 14px;display:flex;align-items:center;gap:10px;justify-content:space-between}
.sticky-pay .total{font-weight:800}
.sticky-pay .actions{display:flex;gap:8px}
@media (max-width:760px){ .sticky-pay{display:block} }

/* Processing page */
.processing-wrap{max-width:720px;margin:24px auto;padding:0 16px}
.processing-card{display:grid;gap:10px;place-items:center;text-align:center}
.spinner{width:44px;height:44px;border:3px solid rgba(16,24,40,.2);border-top-color:#21c3ff;border-radius:50%;animation:spin .8s linear infinite;display:block;margin:0 auto}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.muted{color:var(--muted)}
.success-icon{width:64px;height:64px;border-radius:50%;background:#d1fae5;display:grid;place-items:center;border:2px solid #10b981;box-shadow:0 6px 20px rgba(16,185,129,.25)}
.success-icon::after{content:"";display:block;width:28px;height:14px;border-left:4px solid #065f46;border-bottom:4px solid #065f46;transform:rotate(-45deg);margin-top:-4px}
.countdown{display:grid;gap:8px;place-items:center;margin-top:6px}
.progress{width:240px;height:8px;background:#eef2f7;border-radius:999px;overflow:hidden;border:1px solid #d5dbe3}
.progress .bar{height:100%;width:100%;background:repeating-linear-gradient(45deg, #21c3ff, #21c3ff 12px, #8edbff 12px, #8edbff 24px);animation:barber 1s linear infinite;transition:width .2s ease}
@keyframes barber{from{background-position:0 0}to{background-position:48px 0}}
.pulse{animation:pulse 1s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:.6}50%{opacity:1}}

/* Toasts (reuse base if present) */
.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:60}
.toast{display:flex;gap:10px;align-items:flex-start;max-width:min(440px,92vw);padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow-md)}
.toast .text{color:var(--muted)}
.toast .close{margin-left:auto;background:transparent;border:0;cursor:pointer;color:var(--muted)}
.toast.success{border-color:#ABEFC6}
.toast.error{border-color:#F9DBAF}

/* Buttons focus ring */
.btn-cta:focus-visible, .btn-primary:focus-visible, .btn-ghost:focus-visible, .btn-small:focus-visible, .simple-header .nav-link:focus-visible{
  outline: 3px solid rgba(0,174,255,.35);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .spinner{animation: none}
  .progress .bar{animation: none}
}

@media (max-width:720px){
  .plan-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
  .btn-cta, .btn-primary, .btn-ghost{width:100%}
  /* Maintain Starter, Best Value, Popular order on mobile */
  .plan-card.highlight{order:0}
}

/* Chips and badges */
.chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--border);border-radius:999px;padding:6px 10px}
.chip .ico{width:16px;height:16px}
.badge{display:inline-flex;align-items:center;gap:6px;background:#f0f9ff;border:1px solid #d6e4ff;border-radius:999px;padding:4px 8px;font-weight:700}
.trust-row{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:6px;color:var(--muted)}
.trust-row img{height:16px;width:auto}
.social-proof{max-width:1100px;margin:12px auto 0;padding:0 16px;display:flex;align-items:center;gap:10px;color:var(--muted)}
.avatars{display:flex}
.avatars .av{width:24px;height:24px;border-radius:50%;background:#e6f7ff;border:1px solid #bfe9ff;box-shadow:var(--shadow-md);margin-left:-6px;overflow:hidden}

/* FAQ */
.faq{max-width:1100px;margin:16px auto;padding:0 16px}
.faq details{border:1px solid var(--border);border-radius:12px;background:#fff;padding:12px 14px;margin:8px 0;box-shadow:var(--shadow-md)}
.faq summary{cursor:pointer;font-weight:800}

@media (max-width:760px){ .grid-2 .summary{order:-3} .grid-2 .how{order:-2} .grid-2 .submit{order:-1} }

.plan-card .buy-actions .btn-cta{width:100%;display:block}
.plan-card .feature{color:var(--muted);font-weight:700}

.plan-card > *{justify-self:center}

.delivery-row{max-width:1100px;margin:10px auto 0;padding:0 16px;display:flex;align-items:center;gap:8px;color:var(--muted)}
.delivery-row .ico{width:18px;height:18px;color:#0b5394}
.bkash-badge.big{height:36px;width:auto}
