/* BD Courier clone — https://bdcourier.com/ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.maateen.me/solaiman-lipi/font.css");

:root {
  --violet: #7c3aed;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --fuchsia: #e879f9;
  --purple: #c084fc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --emerald: #10b981;
  --red: #ef4444;
  --font: "SolaimanLipi", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-900);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: .2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

.text-gradient {
  background: linear-gradient(90deg, #a78bfa, #c084fc, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
  transition: .2s; white-space: nowrap;
}
.btn-sm { height: 2.5rem; padding: 0 1rem; font-size: .9375rem; }
.btn-md { height: 2.75rem; padding: 0 1.5rem; font-size: .95rem; }
.btn-lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(124, 58, 237, .28);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--slate-600) !important; }
.btn-ghost:hover { color: var(--slate-900) !important; background: var(--slate-100); }
.btn-outline {
  background: #fff; color: var(--slate-700) !important;
  border: 1.5px solid var(--slate-200);
}
.btn-outline:hover { border-color: var(--violet); color: var(--violet) !important; }
.btn-white {
  background: #fff; color: #6d28d9 !important; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.btn-white:hover { transform: scale(1.03); color: #6d28d9 !important; }
.btn-ghost-w { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost-w:hover { background: rgba(255,255,255,.1); color: #fff !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; transition: .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; height: 4rem;
}
.brand-logo img { height: 2.35rem; width: auto; }
.brand-logo .fallback {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.15rem; color: var(--slate-900);
}
.brand-logo .fallback i {
  width: 2rem; height: 2rem; border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff; display: grid; place-items: center; font-size: .85rem;
}

.nav-pill {
  display: none; align-items: center; gap: .15rem;
  background: rgba(241,245,249,.85); border-radius: 999px; padding: .25rem;
}
@media (min-width: 992px) { .nav-pill { display: flex; } }
.nav-pill a {
  border-radius: 999px; padding: .5rem 1.25rem;
  font-size: .9375rem; font-weight: 500; color: var(--slate-600);
}
.nav-pill a:hover, .nav-pill a.active {
  background: #fff; color: var(--slate-900);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.header-actions { display: none; align-items: center; gap: .5rem; }
@media (min-width: 992px) { .header-actions { display: flex; } }
.mobile-toggle {
  display: flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: var(--slate-100); color: var(--slate-600);
}
@media (min-width: 992px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none; border-top: 1px solid var(--slate-100);
  background: #fff; padding: 1rem 0 1.25rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .7rem 0; font-weight: 500; color: var(--slate-700);
  border-bottom: 1px solid var(--slate-50);
}
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: .65rem; margin-top: 1rem; }

/* Hero — exact reference layout */
.hero {
  position: relative; overflow: hidden;
  padding: 4.75rem 0 5rem;
  background: #fafafa;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero::after {
  content: "";
  position: absolute; width: 26rem; height: 26rem; border-radius: 50%;
  right: -4rem; top: 10%; pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, .35), transparent 68%);
  filter: blur(6px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 3.25rem; }
}

.hero-copy { text-align: center; }
@media (min-width: 992px) { .hero-copy { text-align: left; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245, 243, 255, .95);
  border: 1px solid #e9e2ff;
  color: #4c1d95;
  border-radius: 999px; padding: .42rem 1rem;
  font-size: .875rem; font-weight: 600; margin-bottom: 1.4rem;
}
.hero-badge i { color: #7c3aed; font-size: .85rem; }

.hero h1 {
  margin: 0; font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
  color: #0f172a;
}
.hero h1 .text-gradient {
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 50%, #d946ef 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero .lead {
  margin: 1.25rem auto 0; max-width: 34rem;
  font-size: 1.05rem; color: #64748b; line-height: 1.75;
}
@media (min-width: 992px) { .hero .lead { margin-left: 0; } }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem;
  justify-content: center; margin-top: 1.85rem;
}
@media (min-width: 992px) { .hero-stats { justify-content: flex-start; } }
.hero-stats .item { display: flex; align-items: center; gap: .65rem; text-align: left; }
.hero-stats .ico {
  width: 2.5rem; height: 2.5rem; border-radius: .7rem; flex-shrink: 0;
  background: #ede9fe; color: #7c3aed;
  display: grid; place-items: center; font-size: .9rem;
}
.hero-stats .txt b {
  display: block; font-size: 1rem; font-weight: 800; color: #0f172a; line-height: 1.2;
}
.hero-stats .txt span {
  display: block; font-size: .8rem; color: #64748b; font-weight: 500;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: .8rem;
  justify-content: center; margin-top: 2rem;
}
@media (min-width: 992px) { .hero-btns { justify-content: flex-start; } }

.btn-hero-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 3.15rem; padding: 0 1.55rem; border-radius: .9rem; border: 0;
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 55%, #c026d3 100%);
  color: #fff !important; font-weight: 700; font-size: .98rem;
  box-shadow: 0 12px 28px rgba(124, 58, 237, .32);
}
.btn-hero-primary:hover { filter: brightness(1.05); color: #fff !important; transform: translateY(-1px); }
.btn-hero-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 3.15rem; padding: 0 1.4rem; border-radius: .9rem;
  background: #fff; color: #0f172a !important; font-weight: 650; font-size: .98rem;
  border: 1.5px solid #e2e8f0; font-weight: 600;
}
.btn-hero-outline:hover { border-color: #7c3aed; color: #7c3aed !important; }

/* Right mock card */
.hero-visual {
  position: relative;
  display: flex; justify-content: center;
}
@media (min-width: 992px) { .hero-visual { justify-content: flex-end; } }
.hero-visual::before {
  content: "";
  position: absolute; width: 18rem; height: 18rem; border-radius: 50%;
  left: -1rem; bottom: -2rem; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(196, 181, 253, .45), transparent 70%);
  filter: blur(4px);
}

.mock-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
}

.mock-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.35rem;
  padding: 1.15rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, .03),
    0 18px 40px rgba(15, 23, 42, .08);
}

.mock-search {
  display: flex; align-items: center; gap: .7rem;
  height: 3rem; padding: 0 1rem;
  border: 1.5px solid #e5e7eb; border-radius: .9rem;
  background: #fff; color: #334155; font-weight: 600; font-size: .95rem;
  margin-bottom: .85rem;
}
.mock-search i { color: #94a3b8; }

.mock-result {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1rem;
}

.mock-result-top {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.mock-status { display: flex; align-items: center; gap: .65rem; }
.mock-status .shield {
  width: 2.55rem; height: 2.55rem; border-radius: .75rem;
  background: #d1fae5; color: #059669;
  display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0;
}
.mock-status strong {
  display: block; font-size: 1.05rem; font-weight: 800; color: #047857; line-height: 1.15;
}
.mock-status small,
.mock-score small {
  display: block; font-size: .78rem; color: #6b7280; font-weight: 500; margin-top: .12rem;
}
.mock-score { text-align: right; }
.mock-score strong {
  display: block; font-size: 1.6rem; font-weight: 800; color: #047857; line-height: 1;
}

.mock-bar {
  margin-top: .9rem; height: 9px; border-radius: 99px;
  background: #e5e7eb; overflow: hidden;
}
.mock-bar span {
  display: block; width: 94%; height: 100%; border-radius: 99px; background: #10b981;
}

.mock-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .4rem; margin-top: .95rem; padding-top: .85rem;
  border-top: 1px solid #d1fae5; text-align: center;
}
.mock-stats b {
  display: block; font-size: 1.2rem; font-weight: 800; color: #0f172a; line-height: 1.15;
}
.mock-stats span {
  display: block; font-size: .78rem; color: #6b7280; margin-top: .12rem; font-weight: 500;
}
.mock-stats .ok b { color: #059669; }
.mock-stats .ret b,
.mock-stats .ret span { color: #ef4444; }

.mock-badge {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .9rem; padding: .65rem .8rem;
  background: #ecfdf5; border: 1px solid #bbf7d0; border-radius: .75rem;
  color: #047857; font-weight: 700; font-size: .88rem;
}
.mock-badge i { color: #10b981; }

@keyframes pulse { 50% { opacity: .35; } }

/* Couriers */
.couriers { padding: 3.5rem 0 4rem; text-align: center; }
.couriers .eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #ede9fe; color: #6d28d9; font-weight: 700;
  font-size: .85rem; padding: .35rem .85rem; border-radius: 999px; margin-bottom: .85rem;
}
.couriers h2 {
  margin: 0 0 .75rem; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
}
.couriers .sub { color: var(--slate-600); margin: 0 0 2rem; }
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.25rem 2rem;
}
.logo-row .clogo {
  height: 42px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: .2s;
}
.logo-row .clogo:hover { filter: none; opacity: 1; }
.logo-row .cname {
  font-weight: 800; color: #9ca3af; font-size: 1.05rem; letter-spacing: .02em;
}

/* Sections */
.sec { padding: 5rem 0; position: relative; overflow: hidden; }
.sec-soft { background: linear-gradient(180deg, #fff, #f8fafc 40%, #fff); }
.head { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.head .pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px; padding: .35rem 1rem; font-size: .875rem; font-weight: 600; margin-bottom: 1rem;
}
.head .pill.v { background: #ede9fe; color: #6d28d9; }
.head .pill.g { background: #d1fae5; color: #047857; }
.head h2 {
  margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
}
.head p { margin: 1rem 0 0; font-size: 1.1rem; color: var(--slate-600); }

/* Compare */
.cmp { display: grid; gap: 2rem; }
@media (min-width: 992px) { .cmp { grid-template-columns: 1fr 1fr; } }
.card-loss, .card-win {
  border-radius: 1.5rem; padding: 2rem; background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.card-loss { border: 2px solid #fee2e2; box-shadow: 0 20px 40px rgba(254,202,202,.35); }
.card-win { border: 2px solid #d1fae5; box-shadow: 0 20px 40px rgba(167,243,208,.35); }
.card-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.card-top .ico {
  width: 3rem; height: 3rem; border-radius: .75rem; display: grid; place-items: center;
}
.card-loss .card-top .ico { background: #fee2e2; color: #ef4444; }
.card-win .card-top .ico { background: #d1fae5; color: #059669; }
.card-top .tag { font-size: .85rem; font-weight: 600; }
.card-loss .tag { color: #ef4444; }
.card-win .tag { color: #059669; }
.card-top h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }

.loss-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid #fee2e2; background: rgba(254,242,242,.6);
  border-radius: .75rem; padding: .75rem 1rem; margin-bottom: .7rem;
}
.loss-row .n {
  width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #fee2e2;
  color: #dc2626; font-size: .75rem; font-weight: 800;
  display: inline-grid; place-items: center; margin-right: .65rem;
}
.loss-row .val { font-weight: 800; color: #dc2626; }
.loss-total {
  margin-top: 1.25rem; border-radius: .85rem; padding: 1.15rem 1.25rem;
  background: linear-gradient(90deg, #ef4444, #f43f5e); color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.loss-total small { opacity: .9; display: block; }
.loss-total b { font-size: 1.75rem; }

.win-item {
  display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid #d1fae5; background: rgba(236,253,245,.6);
  border-radius: .85rem; padding: 1rem; margin-bottom: .85rem;
}
.win-item .ico {
  width: 2.5rem; height: 2.5rem; border-radius: .65rem; flex-shrink: 0;
  background: #d1fae5; color: #059669; display: grid; place-items: center;
}
.win-item h4 { margin: 0 0 .2rem; font-size: 1rem; font-weight: 700; }
.win-item p { margin: 0; font-size: .9rem; color: var(--slate-600); }
.win-cta { margin-top: .5rem; width: 100%; }

.stats4 {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 1.25rem;
  padding: 1.5rem 1rem; box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
@media (min-width: 768px) { .stats4 { grid-template-columns: repeat(4, 1fr); } }
.stats4 div { text-align: center; }
.stats4 b { display: block; font-size: 1.75rem; font-weight: 800; color: var(--slate-900); }
.stats4 span { font-size: .85rem; color: var(--slate-500); }

/* Features */
.feat-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem;
  margin: -1.5rem auto 2.5rem; max-width: 40rem; color: var(--slate-600); font-weight: 500;
}
.feat-tags i { color: var(--violet-500); margin-right: .35rem; }
.grid8 {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid8 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .grid8 { grid-template-columns: repeat(4, 1fr); } }
.fcard {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid #f1f5f9; border-radius: 1rem;
  padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.02), 0 4px 12px rgba(0,0,0,.04), 0 16px 40px rgba(0,0,0,.04);
  transition: .3s; height: 100%;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.fcard .ico {
  width: 3rem; height: 3rem; border-radius: .75rem; color: #fff;
  display: grid; place-items: center; margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.12); transition: .3s;
}
.fcard:hover .ico { transform: scale(1.08); }
.fcard h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.fcard p { margin: 0; font-size: .875rem; color: var(--slate-600); line-height: 1.65; }
.g1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.g2 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.g3 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.g4 { background: linear-gradient(135deg, #f97316, #f59e0b); }
.g5 { background: linear-gradient(135deg, #475569, #1e293b); }
.g6 { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.g7 { background: linear-gradient(135deg, #22c55e, #10b981); }
.g8 { background: linear-gradient(135deg, #ec4899, #f43f5e); }

/* Steps */
.steps {
  display: grid; gap: 2rem; position: relative; max-width: 56rem; margin: 0 auto;
}
@media (min-width: 992px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 2.5rem; left: 16%; right: 16%; height: 2px;
    background: linear-gradient(90deg, #bfdbfe, #ddd6fe, #a7f3d0); z-index: 0;
  }
}
.step { text-align: center; position: relative; z-index: 1; }
.step .icon-wrap { position: relative; display: inline-block; margin-bottom: 1.25rem; }
.step .icon {
  width: 5rem; height: 5rem; border-radius: 1rem; color: #fff;
  display: grid; place-items: center; font-size: 1.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.step .num {
  position: absolute; top: -.5rem; right: -.5rem;
  width: 2rem; height: 2rem; border-radius: 999px; background: #fff;
  font-size: .85rem; font-weight: 800; color: var(--slate-900);
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); outline: 4px solid #f8fafc;
}
.s1 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.s2 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.s3 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.step h3 { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.step p { margin: 0 auto; max-width: 16rem; color: var(--slate-600); font-size: .95rem; }

/* Free CTA */
.free-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #9333ea, #c026d3);
  border-radius: 1.5rem; padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}
.free-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  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='%23fff' fill-opacity='1'%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/svg%3E");
}
.free-inner {
  position: relative; z-index: 1;
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 992px) { .free-inner { grid-template-columns: 1.2fr 1fr; } }
.free-cta h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
.free-cta h2 .yl { color: #fde047; }
.free-cta .desc { margin: 0 0 1.5rem; color: rgba(255,255,255,.85); font-size: 1.1rem; }
.free-cta .hint { margin: 1rem 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.free-card {
  background: #fff; color: var(--slate-900); border-radius: 1rem;
  padding: 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.free-card .title {
  font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.free-card .price { color: var(--violet); font-weight: 800; }
.free-card li {
  display: flex; gap: .55rem; align-items: flex-start;
  margin-bottom: .65rem; font-weight: 500; font-size: .95rem;
}
.free-card li i { color: var(--emerald); margin-top: .2rem; }
.free-card .note {
  margin-top: 1rem; text-align: center; font-size: .85rem; font-weight: 600;
  background: linear-gradient(90deg, #f5f3ff, #fdf4ff); color: #6d28d9;
  border-radius: .75rem; padding: .75rem;
}

/* Contact */
.contact2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .contact2 { grid-template-columns: 1fr 1fr; } }
.ccard {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  padding: 2rem; color: #fff; min-height: 12rem;
  transition: .3s; display: block;
}
.ccard:hover { transform: translateY(-4px); }
.ccard.wa {
  background: linear-gradient(135deg, #10b981, #0d9488);
  box-shadow: 0 20px 40px rgba(16,185,129,.25);
}
.ccard.call {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 20px 40px rgba(124,58,237,.25);
}
.ccard::before {
  content: ""; position: absolute; right: -2rem; top: -2rem;
  width: 8rem; height: 8rem; border-radius: 50%; background: rgba(255,255,255,.1);
}
.ccard .ico {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1rem;
  background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.4rem;
}
.ccard h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.ccard .sub { margin: .25rem 0 0; opacity: .9; font-size: .95rem; }
.ccard .num { margin: 1rem 0 0; font-size: 1.5rem; font-weight: 800; }
.ccard .go { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; opacity: .95; }

.meta-row {
  display: grid; gap: 1rem; margin-top: 1.25rem;
}
@media (min-width: 768px) { .meta-row { grid-template-columns: 1fr 1fr 1fr; } }
.mcard {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem;
  padding: 1.15rem 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.mcard b { display: block; margin-bottom: .25rem; }
.mcard i { color: var(--violet); margin-right: .35rem; }
.mcard span { color: var(--slate-500); font-size: .92rem; }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f172a, #1e1b4b 60%, #0f172a);
  color: rgba(255,255,255,.72);
}
.footer-cta-wrap { border-bottom: 1px solid rgba(255,255,255,.1); padding: 3rem 0; }
.footer-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1.5rem; text-align: center;
  background: linear-gradient(90deg, #7c3aed, #9333ea, #c026d3);
  border-radius: 1rem; padding: 2rem; color: #fff;
  box-shadow: 0 20px 50px rgba(124,58,237,.3);
}
@media (min-width: 768px) {
  .footer-cta { flex-direction: row; text-align: left; }
}
.footer-cta h3 { margin: 0; font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-cta p { margin: .35rem 0 0; color: rgba(255,255,255,.9); }
.footer-main { padding: 4rem 0; }
.footer-main h5 { color: #fff; font-weight: 800; font-size: 1rem; margin: 0 0 1.1rem; }
.footer-main a:hover { color: #c4b5fd; }
.footer-brand img { height: 2.25rem; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { margin: 0 0 1.25rem; line-height: 1.7; }
.social { display: flex; gap: .5rem; }
.social a {
  width: 2.25rem; height: 2.25rem; border-radius: .65rem;
  background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff;
}
.social a:hover { background: var(--violet); }
.contact-li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .85rem; color: #94a3b8; }
.contact-li i { margin-top: .2rem; }
.contact-li .wa { color: #34d399; }
.contact-li .ph { color: #60a5fa; }
.contact-li .ad { color: #a78bfa; }
.foot-bot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.35rem 0; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: .75rem; font-size: .875rem; color: #64748b;
}

/* Legacy / inner pages */
.page-hero {
  background: linear-gradient(180deg, #faf5ff, #fff);
  text-align: center; padding: 3.5rem 0; border-bottom: 1px solid var(--slate-100);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0 0 .45rem; }
.page-hero h1 span { color: var(--violet); }
.page-hero p { color: var(--slate-500); margin: 0; }
.section-pad { padding: 4rem 0; }
.btn-cd, .btn-cd-primary, .btn-custom {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .65rem 1.4rem; border-radius: 999px;
  font-weight: 700; background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff !important; border: 0;
}
.btn-cd-ghost, .btn-cd-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .65rem 1.4rem; border-radius: 999px;
  font-weight: 700; background: #fff; color: var(--slate-800) !important;
  border: 1.5px solid #d1d5db;
}
.text-primary { color: var(--violet) !important; }
.btn-primary { background: var(--violet) !important; border-color: var(--violet) !important; }
.bg-light, .bg-surface { background: var(--slate-50) !important; }
.text-muted { color: var(--slate-500) !important; }
.info-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.info-icon {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  background: #ede9fe; color: var(--violet); border-radius: .75rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: .65s ease; }
.reveal.in { opacity: 1; transform: none; }

iframe.goog-te-banner-frame, .goog-te-banner-frame, .skiptranslate, #google_translate_element {
  display: none !important; visibility: hidden !important; height: 0 !important;
}
body { top: 0 !important; position: static !important; }

.navbar-toggler { display: none; }

/* ========== User Dashboard Panel ========== */
.ud-wrap {
  background: #f8fafc;
  padding: 2.25rem 0 3.5rem;
  min-height: 70vh;
}
.ud-sidebar {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
  position: sticky;
  top: 5.5rem;
}
.ud-profile {
  text-align: center;
  padding: 1.75rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 70%);
  border-bottom: 1px solid #f1f5f9;
}
.ud-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; margin: 0 auto .85rem;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, .2);
  background: #eee;
}
.ud-profile h6 { margin: 0 0 .35rem; font-weight: 800; color: #0f172a; font-size: 1.05rem; }
.ud-profile .ud-role {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #ede9fe; color: #6d28d9;
  font-size: .75rem; font-weight: 700;
  padding: .28rem .7rem; border-radius: 999px;
}
.ud-menu { padding: .85rem .75rem 1.1rem; }
.ud-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem .9rem; margin-bottom: .25rem;
  border-radius: .8rem; color: #64748b; font-weight: 600; font-size: .92rem;
}
.ud-link i {
  width: 2rem; height: 2rem; border-radius: .55rem;
  display: grid; place-items: center;
  background: #f1f5f9; color: #64748b; font-size: .85rem;
}
.ud-link:hover { background: #f5f3ff; color: #6d28d9; }
.ud-link:hover i { background: #ede9fe; color: #7c3aed; }
.ud-link.active { background: linear-gradient(90deg, #ede9fe, #faf5ff); color: #6d28d9; }
.ud-link.active i { background: #7c3aed; color: #fff; }
.ud-link.logout { color: #e11d48; margin-top: .75rem; }
.ud-link.logout i { background: #fff1f2; color: #e11d48; }
.ud-link.logout:hover { background: #fff1f2; color: #be123c; }

.ud-hero {
  position: relative; overflow: hidden;
  border-radius: 1.25rem; padding: 1.75rem 1.75rem;
  background: linear-gradient(120deg, #7c3aed 0%, #9333ea 45%, #c026d3 100%);
  color: #fff; margin-bottom: 1.35rem;
  box-shadow: 0 16px 40px rgba(124, 58, 237, .28);
}
.ud-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .15; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 18px 18px;
}
.ud-hero > * { position: relative; z-index: 1; }
.ud-hero h2 { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 800; }
.ud-hero p { margin: 0; color: rgba(255,255,255,.88); font-size: .95rem; max-width: 36rem; }
.ud-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.ud-hero .btn-w {
  background: #fff; color: #6d28d9 !important; font-weight: 700;
  height: 2.65rem; padding: 0 1.2rem; border-radius: .75rem; border: 0;
  display: inline-flex; align-items: center; gap: .45rem;
}
.ud-hero .btn-ghost-w {
  background: rgba(255,255,255,.12); color: #fff !important; font-weight: 600;
  height: 2.65rem; padding: 0 1.15rem; border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.28);
  display: inline-flex; align-items: center; gap: .45rem;
}
.ud-hero .btn-ghost-w:hover { background: rgba(255,255,255,.2); color: #fff !important; }

.ud-stats { display: grid; gap: 1rem; margin-bottom: 1.35rem; }
@media (min-width: 768px) { .ud-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ud-stats { grid-template-columns: repeat(4, 1fr); } }
.ud-stat {
  background: #fff; border: 1px solid #eef2f7; border-radius: 1.1rem;
  padding: 1.2rem 1.15rem; box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
  transition: .25s; height: 100%;
}
.ud-stat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, .08); }
.ud-stat .ico {
  width: 2.6rem; height: 2.6rem; border-radius: .7rem;
  display: grid; place-items: center; margin-bottom: .85rem; font-size: 1rem;
}
.ud-stat .lbl { font-size: .8rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .02em; }
.ud-stat .val { font-size: 1.55rem; font-weight: 800; color: #0f172a; margin-top: .2rem; line-height: 1.2; }
.ud-stat .hint { font-size: .78rem; color: #94a3b8; margin-top: .25rem; }
.ud-stat .ico.p { background: #ede9fe; color: #7c3aed; }
.ud-stat .ico.g { background: #d1fae5; color: #059669; }
.ud-stat .ico.o { background: #ffedd5; color: #ea580c; }
.ud-stat .ico.b { background: #dbeafe; color: #2563eb; }

.ud-grid2 { display: grid; gap: 1.15rem; margin-bottom: 1.35rem; }
@media (min-width: 992px) { .ud-grid2 { grid-template-columns: 1.2fr .8fr; } }

.ud-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: 1.15rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .04); overflow: hidden;
}
.ud-card-h {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid #f1f5f9;
}
.ud-card-h h5 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.ud-card-b { padding: 1.25rem; }

.ud-quick {
  display: grid; gap: .75rem;
}
.ud-quick a {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1rem; border-radius: .9rem;
  border: 1px solid #eef2f7; background: #fafafa; transition: .2s;
}
.ud-quick a:hover { border-color: #ddd6fe; background: #f5f3ff; }
.ud-quick .ico {
  width: 2.5rem; height: 2.5rem; border-radius: .7rem;
  display: grid; place-items: center; flex-shrink: 0;
}
.ud-quick strong { display: block; font-size: .95rem; color: #0f172a; font-weight: 700; }
.ud-quick span { font-size: .8rem; color: #64748b; }
.ud-quick .go { margin-left: auto; color: #94a3b8; }

.ud-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.ud-table thead th {
  background: #f8fafc; padding: .85rem 1rem; font-size: .72rem;
  color: #64748b; text-transform: uppercase; font-weight: 800;
  letter-spacing: .04em; border-bottom: 1px solid #eef2f7; white-space: nowrap;
}
.ud-table tbody td {
  padding: 1rem; border-bottom: 1px solid #f1f5f9;
  font-size: .9rem; color: #334155; vertical-align: middle;
}
.ud-table tbody tr:last-child td { border-bottom: 0; }
.ud-table tbody tr:hover { background: #fafafa; }
.ud-oid { font-weight: 800; color: #7c3aed; }
.ud-badge {
  display: inline-flex; align-items: center; padding: .3rem .7rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.ud-badge.ok { background: #d1fae5; color: #047857; }
.ud-badge.due { background: #fee2e2; color: #b91c1c; }
.ud-empty { text-align: center; padding: 2.5rem 1rem; color: #94a3b8; }
.ud-empty i { opacity: .35; margin-bottom: .75rem; display: block; }

.ud-pagination .page-link {
  width: 2.15rem; height: 2.15rem; border-radius: 999px !important;
  display: flex; align-items: center; justify-content: center;
  border: 0; margin: 0 .15rem; font-weight: 700; font-size: .85rem;
  color: #0f172a; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.ud-pagination .page-item.active .page-link {
  background: #7c3aed; color: #fff;
}
.ud-pagination .page-item.disabled .page-link {
  background: #f1f5f9; color: #94a3b8; box-shadow: none;
}

.ud-modal .modal-content { border: 0; border-radius: 1rem; overflow: hidden; }
.ud-modal .modal-header {
  background: #f8fafc; border-bottom: 1px solid #eef2f7; padding: 1.1rem 1.25rem;
}
.ud-modal .invoice-item-list {
  background: #f8fafc; padding: .9rem 1rem; border-radius: .75rem;
  font-family: ui-monospace, monospace; font-size: .82rem; white-space: pre-wrap;
  border: 1px solid #eef2f7;
}

@media (max-width: 991px) {
  .ud-sidebar { position: static; margin-bottom: .5rem; }
}
