/* Digitalshinebd — futuristic glow theme from the logo: deep navy, cyan, gold */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #060b14;
  --bg-2: #0b1424;
  --panel: #0f1a2e;
  --panel-2: #14223a;
  --line: rgba(120, 200, 255, 0.14);
  --line-strong: rgba(120, 200, 255, 0.32);
  --text: #e8f1fb;
  --muted: #8ea3bd;
  --cyan: #22c4f0;
  --cyan-2: #0fa3d6;
  --gold: #f6b23a;
  --gold-2: #ffcf6b;
  --red: #ef4a5a;
  --green: #1f9d68;
  --radius: 14px;
  --glow-cyan: 0 0 24px rgba(34, 196, 240, 0.35);
  --glow-gold: 0 0 24px rgba(246, 178, 58, 0.35);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 196, 240, 0.12), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(246, 178, 58, 0.07), transparent 60%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
main { flex: 1; }
h1, h2, h3, h4 { font-family: "Lexend", sans-serif; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* subtle circuit grid */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(34,196,240,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,196,240,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none; z-index: -1;
}

.grad-text {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 45%, var(--gold) 70%, var(--gold-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: "Lexend"; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--glow-cyan); }
.brand .d { color: var(--cyan); }
.brand .s { color: var(--gold); }
.brand .bd { color: var(--green); font-size: .8em; margin-left: 2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--text); border-bottom-color: var(--cyan); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.currency {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden;
}
.currency button {
  background: none; border: 0; color: var(--muted); padding: 6px 12px; font: 600 .85rem "Inter"; cursor: pointer;
}
.currency button.on { background: var(--cyan); color: #04121c; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem;
}
.cart-btn:hover { border-color: var(--cyan); color: var(--text); box-shadow: var(--glow-cyan); }
.cart-count {
  background: var(--gold); color: #1a1100; border-radius: 999px; min-width: 20px; height: 20px;
  display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; padding: 0 6px;
}
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 6px 10px; cursor: pointer; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-block; margin-left: auto; }
  .header-tools { margin-left: 0; }
  .brand span.full { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font: 600 .95rem "Inter"; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: #04121c; box-shadow: var(--glow-cyan); }
.btn-primary:hover { color: #04121c; box-shadow: 0 0 34px rgba(34,196,240,.55); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1100; box-shadow: var(--glow-gold); }
.btn-gold:hover { color: #1a1100; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }
.btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid rgba(246,178,58,.35); padding: 6px 12px; border-radius: 999px; background: rgba(246,178,58,.06);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0 16px; letter-spacing: -.01em; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: "Lexend"; font-size: 1.5rem; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: .85rem; }
.hero-logo { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 1; box-shadow: 0 0 60px rgba(34,196,240,.35), 0 0 120px rgba(246,178,58,.12); }
.hero-logo::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px dashed rgba(34,196,240,.35); animation: spin 40s linear infinite;
}
.hero-logo::after {
  content: ""; position: absolute; inset: -40px; border-radius: 50%;
  border: 1px solid rgba(246,178,58,.15);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 240px; order: -1; }
}

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.section-head p { color: var(--muted); margin: 6px 0 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(34,196,240,.1); color: var(--cyan); border: 1px solid var(--line-strong); }
.feature:nth-child(even) .icon { background: rgba(246,178,58,.1); color: var(--gold); border-color: rgba(246,178,58,.35); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .92rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--panel); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: "Lexend"; font-weight: 700; font-size: 2rem; color: transparent; -webkit-text-stroke: 1px var(--cyan); display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { background: var(--panel); border: 1px solid var(--line); color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; font: 500 .9rem "Inter"; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.on { color: #04121c; background: var(--cyan); border-color: var(--cyan); }
.search { flex: 1; min-width: 220px; max-width: 320px; margin-left: auto; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 9px 16px; border-radius: 999px; font: 400 .95rem "Inter"; }
.search:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.4), var(--glow-cyan); }
.thumb {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--hue) 45%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #0d1729, #070d18);
  color: var(--text);
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.thumb .mark {
  position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center;
  font-family: "Lexend"; font-weight: 700; font-size: 1.5rem;
  background: rgba(6, 11, 20, .7); border: 1px solid color-mix(in srgb, var(--hue) 70%, transparent);
  box-shadow: 0 0 36px color-mix(in srgb, var(--hue) 55%, transparent);
  color: var(--hue);
}
.thumb .tname { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; z-index: 1; font: 600 .78rem "Lexend"; letter-spacing: .18em; text-transform: uppercase; color: rgba(232,241,251,.65); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font: 700 .7rem "Inter"; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.sale { background: var(--gold); color: #1a1100; }
.badge.soldout { background: rgba(239,74,90,.15); color: #ff8a95; border: 1px solid rgba(239,74,90,.45); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.02rem; margin: 0; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--cyan); }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.stars .n { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price { font-family: "Lexend"; font-weight: 600; color: var(--gold-2); font-size: 1.1rem; }
.card .btn { margin-top: auto; }
.card-actions { margin-top: auto; padding-top: 10px; }

/* ---------- Product page ---------- */
.breadcrumbs { color: var(--muted); font-size: .9rem; padding: 24px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 24px 0 56px; }
.product .thumb { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; }
.product .thumb .mark { width: 150px; height: 150px; font-size: 2.6rem; border-radius: 36px; }
.product h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.product .price { font-size: 1.8rem; margin: 8px 0 18px; }
.product .desc { color: var(--muted); }
.plans { display: grid; gap: 10px; margin: 16px 0 22px; }
.plan {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 14px 16px; cursor: pointer;
}
.plan input { accent-color: var(--cyan); margin-right: 10px; }
.plan:has(input:checked) { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.plan .p { font-family: "Lexend"; color: var(--gold-2); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.qty button { background: none; border: 0; color: var(--text); width: 40px; height: 44px; font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: var(--panel-2); }
.qty input { width: 48px; text-align: center; background: none; border: 0; color: var(--text); font: 600 1rem "Inter"; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.perks li { color: var(--muted); display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.perks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); flex: none; }
.notice { border: 1px solid rgba(246,178,58,.35); background: rgba(246,178,58,.06); color: var(--gold-2); border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-bottom: 56px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-bottom: 12px; }
.cart-item .thumb { aspect-ratio: 1; border-radius: 12px; }
.cart-item .thumb .mark { width: 46px; height: 46px; font-size: .85rem; border-radius: 12px; }
.cart-item h3 { font-size: 1rem; margin: 0; }
.cart-item .meta { color: var(--muted); font-size: .88rem; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; padding: 0; }
.remove:hover { color: var(--red); }
.summary { border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: 22px; position: sticky; top: 92px; }
.summary .row { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 10px; }
.summary .total { color: var(--text); font-family: "Lexend"; font-size: 1.25rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.summary .total span:last-child { color: var(--gold-2); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item .qty, .cart-item .line-total { grid-column: 2; }
}

/* ---------- Page header & legal ---------- */
.page-head { padding: 56px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 8px; }
.page-head p { color: var(--muted); margin: 0; }
.legal { max-width: 800px; padding-bottom: 64px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; color: var(--text); }
.legal h2::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--cyan); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 8px var(--cyan); }
.legal p, .legal li { color: #b9c8da; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .callout { border-left: 3px solid var(--gold); background: rgba(246,178,58,.06); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--text); margin: 20px 0; }

/* ---------- Contact / FAQ ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 64px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .9rem; color: var(--muted); }
.field input, .field textarea, .field select { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: 10px; font: 400 .95rem "Inter"; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); }
details.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 16px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.2rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); margin: 10px 0 0; }

.banner-strip { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 0 60px rgba(34,196,240,.12); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #04080f; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 20px 32px; }
.site-footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b9c8da; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p { color: var(--muted); font-size: .92rem; margin: 12px 0 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--panel-2); border: 1px solid var(--cyan); color: var(--text); padding: 12px 20px; border-radius: 12px;
  box-shadow: var(--glow-cyan); transition: all .25s; z-index: 100; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.muted { color: var(--muted); }
.center { text-align: center; }
