:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --navy: #0a1628;
  --slate: #526277;
  --blue: #0066ff;
  --blue-dark: #004ec4;
  --green: #00c48c;
  --green-dark: #00996d;
  --border: #e2e8f0;
  --shadow-3d: 0 24px 48px -12px rgba(10, 22, 40, 0.14), 0 8px 20px -6px rgba(0, 102, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.55;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ambient 3D Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #60a5fa, transparent 70%);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #34d399, transparent 70%);
  bottom: 10%;
  left: -100px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #0066ff, #0052cc);
  color: #fff;
  box-shadow: 0 10px 22px -6px rgba(0, 102, 255, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px -6px rgba(0, 102, 255, 0.55);
}

.btn-success {
  background: linear-gradient(135deg, #00c48c, #009e70);
  color: #fff;
  box-shadow: 0 10px 22px -6px rgba(0, 196, 140, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.05);
}

.btn-outline-primary {
  background: #f0f6ff;
  color: var(--blue);
  border: 1.5px solid #bfdbfe;
}

.btn-outline-primary:hover {
  background: #e0edff;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.05);
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 196, 140, 0.2);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #0066ff 0%, #00c48c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--slate);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-quick-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.action-tile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 11px 18px 11px 12px;
  text-decoration: none;
  color: var(--navy);
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(10, 22, 40, 0.12);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-tile:hover {
  transform: translateY(-3px);
}

.action-tile-blue:hover {
  border-color: #93c5fd;
  box-shadow: 0 18px 32px -12px rgba(0, 102, 255, 0.25);
}

.action-tile-green:hover {
  border-color: #6ee7b7;
  box-shadow: 0 18px 32px -12px rgba(0, 196, 140, 0.28);
}

.tile-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tile-copy strong {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}

.tile-copy small {
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 600;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
}

.stat-lbl {
  font-size: 11.5px;
  color: var(--slate);
}

/* 3D Hero Mockup */
.hero-visual {
  perspective: 1100px;
  display: flex;
  justify-content: center;
}

.mockup-3d {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-3d);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mockup-logo {
  height: 26px;
}

.mockup-status {
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.mockup-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.mockup-step.active-step {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.step-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-meta strong {
  font-size: 13px;
}

.step-meta span {
  font-size: 11px;
  color: var(--slate);
}

.tag-ok {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
}

.tag-live {
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 999px;
}

.mockup-dates {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 4px;
}

.d-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: #f1f5f9;
  color: var(--navy);
  border: 1px solid var(--border);
}

.d-chip.tried {
  opacity: 0.45;
  text-decoration: line-through;
}

.d-chip.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 14px rgba(0, 102, 255, 0.35);
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(10, 22, 40, 0.12);
  animation: floatY 3.6s ease-in-out infinite;
}

.float-top {
  top: -16px;
  right: -18px;
}

.float-bottom {
  bottom: -16px;
  left: -18px;
  animation-delay: 1.5s;
}

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

/* 3D Icon Tiles */
.icon-3d {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.35), 0 8px 16px -4px rgba(10, 22, 40, 0.22);
}

.icon-3d.lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.icon-3d-sm {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.icon-blue { background: linear-gradient(145deg, #2580ff, #0052cc); }
.icon-green { background: linear-gradient(145deg, #10d89e, #009e70); }
.icon-indigo { background: linear-gradient(145deg, #6366f1, #4338ca); }
.icon-cyan { background: linear-gradient(145deg, #06b6d4, #0284c7); }
.icon-emerald { background: linear-gradient(145deg, #34d399, #059669); }
.icon-navy { background: linear-gradient(145deg, #1e293b, #0a1628); }

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--slate);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 20px -8px rgba(10, 22, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px -12px rgba(0, 102, 255, 0.14);
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.bento-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate);
}

/* Workflow Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.flow-num {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #0066ff, #00c48c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.flow-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.flow-card p {
  margin: 0;
  font-size: 13px;
  color: var(--slate);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 30px -12px rgba(10, 22, 40, 0.08);
  display: flex;
  flex-direction: column;
}

.price-card-pro {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 48px -14px rgba(0, 102, 255, 0.22);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, #0066ff, #00c48c);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 102, 255, 0.3);
}

.price-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.plan-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate);
}

.pro-tag {
  color: var(--blue);
}

.price-top h3 {
  margin: 2px 0 0;
  font-size: 21px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.currency {
  font-size: 24px;
}

.term {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.plan-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--slate);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.chk {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.chk.pro {
  background: #d1fae5;
  color: #059669;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 28px;
}

.footer-brand p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--slate);
}

.footer-credit {
  font-size: 14px;
  color: var(--slate);
}

.footer-credit strong {
  color: var(--navy);
}

/* Payment Gateway Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 60px rgba(10, 22, 40, 0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--slate);
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-icon {
  width: 42px;
  height: 42px;
}

.modal-head h3 {
  margin: 0;
  font-size: 19px;
}

.order-summary {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.order-summary div {
  display: flex;
  flex-direction: column;
}

.muted-sm {
  font-size: 12px;
  color: var(--slate);
}

.order-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.gw-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--navy);
}

.gw-btn.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

.gw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gw-bkash { background: #e2136e; }
.gw-nagad { background: #f26522; }
.gw-rocket { background: #8c3494; }
.gw-card { background: #0066ff; }

.gateway-instructions {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-form label span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
}

.checkout-form input {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.checkout-form input:focus {
  border-color: var(--blue);
}

.hidden {
  display: none;
}

.receipt-view {
  text-align: center;
}

.receipt-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10d89e, #009e70);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 13px;
}

.receipt-card div {
  display: flex;
  justify-content: space-between;
}

.receipt-card span {
  color: var(--slate);
}

.license-code {
  color: var(--blue);
  font-family: Consolas, monospace;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .bento-grid,
  .steps-row,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mockup-3d {
    transform: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
