/* ==========================================================================
   EncryptTechBD — public platform components (2026 redesign)
   Loaded after legacy.css. Adds the new commercial layout without touching
   blog and legacy component styles.
   ========================================================================== */

:root {
  --radius: 14px;
  --radius-sm: 9px;
  --line: rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .05);
  --panel: #0a1424;
  --panel-2: #0c1930;
  --shadow: 0 18px 45px -30px rgba(0, 0, 0, .9);
  --c-soft: rgba(20, 184, 166, .12);
}

/* ---------------------------------------------------------------- structure */
.page-shell { padding-top: 104px; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .sec-title { margin-bottom: 14px; }
.section-head p { color: var(--g1); font-size: 16px; line-height: 1.8; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fm); font-size: 12px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--c); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--c30); }

/* ---------------------------------------------------------------- breadcrumbs */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--fm); font-size: 12px; color: var(--g1); margin-bottom: 22px; }
.breadcrumb a { color: var(--g1); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--c); }
.breadcrumb .sep { color: var(--g1); }
.breadcrumb .current { color: var(--g1); }

/* ---------------------------------------------------------------- hero */
.hero-clean { position: relative; overflow: hidden; padding: 140px 0 76px; background: radial-gradient(1000px 520px at 18% -10%, rgba(20, 184, 166, .13), transparent 62%), var(--bg); }
.hero-clean::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-clean h1 { font-family: var(--fd); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; font-weight: 900; letter-spacing: -.5px; margin-bottom: 22px; }
.hero-clean .hero-sub { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; color: var(--g1); max-width: 560px; margin-bottom: 30px; }
.hero-actions-clean { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--fm); font-size: 12px; letter-spacing: .6px; color: var(--g1); }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c); flex: none; }

/* conceptual system map (no stock imagery) */
.system-map { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel)); padding: 22px; box-shadow: var(--shadow); }
.system-map .sm-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.system-map .sm-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--g3); display: block; }
.system-map .sm-title { margin-left: auto; font-family: var(--fm); font-size: 10px; letter-spacing: 1.6px; color: var(--g1); text-transform: uppercase; }
.sm-node { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .015); }
.sm-node + .sm-node { margin-top: 10px; }
.sm-node .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sm-node .nm { font-size: 13px; font-weight: 600; color: var(--w); }
.sm-node .st { margin-left: auto; font-family: var(--fm); font-size: 10px; letter-spacing: 1.2px; color: var(--g1); }
.sm-node.ok .dot { background: var(--green); box-shadow: 0 0 10px rgba(34, 197, 94, .5); }
.sm-node.warn .dot { background: var(--amber); }
.sm-node.info .dot { background: var(--blue); }
.sm-note { margin-top: 14px; font-family: var(--fm); font-size: 10px; letter-spacing: .8px; color: var(--g1); }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding: 128px 0 56px; background: radial-gradient(800px 380px at 12% -20%, rgba(20, 184, 166, .1), transparent 65%), var(--bg); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-family: var(--fd); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; font-weight: 900; margin-bottom: 16px; max-width: 820px; }
.page-hero p { color: var(--g1); font-size: 16px; line-height: 1.8; max-width: 720px; }
.page-hero .hero-actions-clean { margin-top: 26px; margin-bottom: 0; }

/* ---------------------------------------------------------------- cards & grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { font-family: var(--fd); font-size: 17px; font-weight: 700; margin-bottom: 9px; color: var(--w); }
.card p { color: var(--g1); font-size: 14px; line-height: 1.75; }
.card .card-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-family: var(--fm); font-size: 11px; letter-spacing: 1px; color: var(--g1); }

.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--c); font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-decoration: none; }
.text-link:hover .arr { transform: translateX(4px); }
.text-link .arr { transition: transform .25s; }

/* problem cards */
.problem-card { display: flex; gap: 14px; padding: 20px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.problem-card .pc-num { font-family: var(--fm); font-size: 11px; color: var(--c); letter-spacing: 1px; padding-top: 3px; }
.problem-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 13px; color: var(--g1); line-height: 1.7; }

/* division card */
.division-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; overflow: hidden; transition: border-color .25s, transform .25s; }
.division-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--dc, var(--c)); opacity: .85; }
.division-card:hover { transform: translateY(-4px); border-color: var(--line); }
.division-card .dc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.division-card .dc-num { font-family: var(--fm); font-size: 11px; letter-spacing: 2px; color: var(--g1); }
.division-card .dc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); color: var(--dc, var(--c)); }
.division-card h3 { font-family: var(--fd); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.division-card > p { color: var(--g1); font-size: 13.5px; line-height: 1.75; margin-bottom: 18px; }
.dc-list { list-style: none; display: grid; gap: 7px; margin-bottom: 22px; }
.dc-list li { position: relative; padding-left: 18px; font-size: 13px; color: var(--g1); line-height: 1.6; }
.dc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 1px; background: var(--dc, var(--c)); }
.division-card .dc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.division-card .dc-price { font-family: var(--fm); font-size: 11px; letter-spacing: .8px; color: var(--g1); }
.division-card .dc-price strong { color: var(--w); font-weight: 600; }

/* featured solution */
.feature-card { display: flex; flex-direction: column; gap: 14px; background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.feature-card .fc-badge { align-self: flex-start; font-family: var(--fm); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--c); border: 1px solid var(--c30); background: var(--c06); padding: 4px 10px; border-radius: 999px; }
.feature-card h3 { font-family: var(--fd); font-size: 18px; font-weight: 800; }
.feature-card p { font-size: 13.5px; color: var(--g1); line-height: 1.75; }
.feature-card ul { list-style: none; display: grid; gap: 7px; }
.feature-card li { position: relative; padding-left: 17px; font-size: 12.5px; color: var(--g1); line-height: 1.6; }
.feature-card li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-size: 11px; }

/* process */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process-step { position: relative; padding: 24px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); }
.process-step .ps-num { font-family: var(--fm); font-size: 11px; color: var(--c); letter-spacing: 2px; display: block; margin-bottom: 12px; }
.process-step h3 { font-family: var(--fd); font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.process-step p { font-size: 13px; color: var(--g1); line-height: 1.7; }

/* ventures */
.venture { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); }
.venture-top { display: flex; align-items: center; gap: 12px; }
.venture-top .v-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); color: var(--vc, var(--c)); font-family: var(--fd); font-weight: 800; font-size: 15px; }
.venture-top h3 { font-family: var(--fd); font-size: 16px; font-weight: 700; }
.venture-top .v-role { font-family: var(--fm); font-size: 10.5px; color: var(--g1); letter-spacing: .8px; }
.v-status { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-family: var(--fm); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--g1); }
.v-status.live { color: #6ee7b7; border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .08); }
.v-status.building { color: #fcd34d; border-color: rgba(234, 179, 8, .3); background: rgba(234, 179, 8, .07); }
.v-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.venture p { font-size: 13px; color: var(--g1); line-height: 1.7; }
.venture .v-built { font-size: 12.5px; color: var(--g1); line-height: 1.7; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.venture a { font-size: 12px; color: var(--c); text-decoration: none; }

/* stack */
.stack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stack-item { padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); }
.stack-item .si-name { font-size: 13.5px; font-weight: 600; color: var(--w); }
.stack-item .si-role { font-family: var(--fm); font-size: 10.5px; letter-spacing: .8px; color: var(--g1); margin-top: 4px; }

/* ---------------------------------------------------------------- pricing */
.price-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; position: relative; }
.price-card.popular { border-color: rgba(20, 184, 166, .45); box-shadow: 0 0 0 1px rgba(20, 184, 166, .12) inset; }
.price-card .pc-badge { position: absolute; top: -10px; right: 20px; font-family: var(--fm); font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; background: var(--c); color: #04101c; padding: 3px 9px; border-radius: 999px; }
.price-card h3 { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--w); margin-bottom: 6px; }
.price-card .pc-desc { font-size: 12.5px; color: var(--g1); line-height: 1.65; min-height: 42px; margin-bottom: 14px; }
.price-card .pc-amount { font-family: var(--fd); font-size: 26px; font-weight: 900; color: var(--w); line-height: 1.1; }
.price-card .pc-period { font-family: var(--fm); font-size: 10.5px; color: var(--g1); letter-spacing: .6px; margin-top: 4px; }
.price-card ul { list-style: none; display: grid; gap: 8px; margin: 18px 0 20px; }
.price-card li { position: relative; padding-left: 17px; font-size: 12.5px; color: var(--g1); line-height: 1.6; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-size: 11px; }
.price-card li.excl { color: var(--g1); }
.price-card li.excl::before { content: "–"; color: var(--g1); }
.price-card .pc-cta { margin-top: auto; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 14px; font-weight: 600; color: var(--w); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--fm); color: var(--c); font-size: 16px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--g1); font-size: 13.5px; line-height: 1.8; }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.field label { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--g1); margin-bottom: 7px; }
.field label .req { color: var(--c); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--w); font-family: var(--fb); font-size: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.field .help { font-size: 11.5px; color: var(--g1); margin-top: 5px; }
.field .err { font-size: 11.5px; color: #fca5a5; margin-top: 5px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.7; color: var(--g1); }
.check-row input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--c); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.alert-success { background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .3); color: #bbf7d0; }
.alert-error { background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .32); color: #fecaca; }
.alert-info { background: var(--c06); border: 1px solid var(--c30); color: var(--w); }
.ref-code { font-family: var(--fm); font-size: 15px; letter-spacing: 1.4px; color: var(--c); }

/* ---------------------------------------------------------------- misc */
.fact-list { display: grid; gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.fact-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 18px; background: var(--panel); font-size: 13.5px; }
.fact-row + .fact-row { border-top: 1px solid var(--line-soft); }
.fact-row dt { color: var(--g1); font-family: var(--fm); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.fact-row dd { color: var(--w); text-align: right; }

.prose { max-width: 820px; color: var(--g1); font-size: 15px; line-height: 1.85; }
.prose h2 { font-family: var(--fd); font-size: 20px; font-weight: 800; color: var(--w); margin: 34px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 18px; display: grid; gap: 6px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }

.cta-band { background: linear-gradient(135deg, var(--bg3), var(--bg2)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 64px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--fd); font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: var(--g1); font-size: 14px; line-height: 1.75; max-width: 560px; }

.illustration { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.illustration .il-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); background: var(--panel-2); }
.illustration .il-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--g3); }
.illustration .il-bar span { margin-left: auto; font-family: var(--fm); font-size: 9.5px; letter-spacing: 1px; color: var(--g1); }
.illustration .il-body { padding: 16px; display: grid; gap: 9px; }
.il-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(255, 255, 255, .015); }
.il-row .il-name { font-size: 12px; color: var(--g1); }
.il-row .il-tag { margin-left: auto; font-family: var(--fm); font-size: 9.5px; letter-spacing: .8px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--g1); }
.il-row .il-tag.ok { color: #6ee7b7; border-color: rgba(34, 197, 94, .3); }
.il-row .il-tag.warn { color: #fcd34d; border-color: rgba(234, 179, 8, .3); }
.illustration .il-note { padding: 9px 14px; border-top: 1px solid var(--line-soft); font-family: var(--fm); font-size: 9.5px; letter-spacing: .6px; color: var(--g1); }

.note-box { border: 1px solid var(--c30); background: var(--c06); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 12.5px; line-height: 1.7; color: var(--g1); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.mobile-contact-actions { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .system-map { max-width: 560px; }
}

@media (max-width: 768px) {
  .shell { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-clean { padding: 118px 0 56px; }
  .page-hero { padding: 112px 0 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .form-card { padding: 22px; }
  .section-tight { padding: 56px 0; }
  .cta-band .inner { align-items: flex-start; }
}

@media (max-width: 430px) {
  .shell { padding: 0 16px; }
  .card, .division-card, .feature-card, .price-card, .form-card { padding: 20px; }
  .stack-grid { grid-template-columns: 1fr; }
  .trust-line { gap: 6px 14px; font-size: 11px; }
  .price-card .pc-amount { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-l, .rv-r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card:hover, .division-card:hover, .bp:hover, .bo:hover { transform: none; }
}

/* ---------------------------------------------------------------- nav polish */
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown { min-width: 280px; }
.nav-dd-item .nav-dd-name { font-size: 13px; }
.nav-links .currency-switch { margin-left: 8px; }

@media (max-width: 1220px) {
  .nav-link { padding: 8px 8px; font-size: 11.5px; letter-spacing: 1px; }
  .nav-cta { padding: 9px 14px; font-size: 11px; letter-spacing: 1px; }
  .nav-logo-text { font-size: 13px; }
}

@media (max-width: 1024px) {
  .nav-links .lang-switch,
  .nav-links .currency-switch { display: none; }
  .mn-lang { padding: 10px 24px 2px; }
  .mn-currency { padding: 4px 24px 10px; }
}
/* ---------------------------------------------------------------- contrast fixes */
.problem-card h3, .problem-card .pc-title { color: var(--w); }
.problem-card p { color: var(--g1); }
.dc-list li { color: var(--g1); }
.sm-note, .il-note, .stack-item .si-role, .venture .status-note { color: var(--g1); }
/* Footer contrast (legacy footer styles used a dimmer grey). */
#siteFooter .footer-tagline,
#siteFooter .footer-desc,
#siteFooter .footer-links a,
#siteFooter .footer-links li,
#siteFooter .footer-copy,
#siteFooter .footer-copy-links a,
#siteFooter .contact-row { color: var(--g1); }
/* Accessibility: WhatsApp action uses a dark label on the green surface. */
.wa-fab, .wa-fab span { color: #04101c; }