/* Extra home sections (additive, scoped to .hx so existing styles are untouched) */
.hx { padding: 64px 0; }
.hx .hx-head { text-align: center; margin-bottom: 36px; }
.hx .hx-head h2 { font-weight: 800; color: var(--ink); }
.hx .hx-head p { color: var(--muted); max-width: 760px; margin: 10px auto 0; }
.hx .gold { color: var(--gold); }
.hx-alt { background: var(--cream); }
.hx-dark { background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff; }
.hx-dark .hx-head h2 { color: #fff; }
.hx-dark .hx-head p { color: rgba(255,255,255,.75); }

/* Recognition + features */
.hx-trust { background: linear-gradient(180deg, var(--cream), #fff 60%, var(--cream)); padding: 56px 0; position: relative; }
.hx-trust::before, .hx-trust::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-l), transparent); }
.hx-trust::before { top: 0; } .hx-trust::after { bottom: 0; }
.hx-eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--violet); background: rgba(139,92,246,.1); padding: 5px 14px; border-radius: 99px; }
.hx-trust-title { font-weight: 800; color: var(--ink); margin: 14px 0 22px; }
.hx-recog { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hx-recog span { padding: 9px 20px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; box-shadow: 0 4px 14px rgba(28,18,64,.06); transition: transform .2s, border-color .2s, box-shadow .2s; }
.hx-recog span::before { content: "✦ "; color: var(--gold); }
.hx-recog span:hover { transform: translateY(-3px); border-color: var(--gold-l); box-shadow: 0 10px 24px rgba(184,116,26,.18); }

/* Cards */
.hx-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; height: 100%; box-shadow: 0 6px 24px rgba(28,18,64,.06); }
.hx-card h3, .hx-card h5 { color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.hx-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.hx-card .ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.hx-stars { color: #f5a524; letter-spacing: 2px; }
.hx-person { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.hx-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }

/* Features banner */
.hx-feat { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 12px; height: 100%; box-shadow: 0 6px 22px rgba(28,18,64,.06); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.hx-feat::before { content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--violet), var(--gold-l)); }
.hx-feat:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(91,33,182,.16); }
.hx-feat .ico { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--violet), var(--ink)); box-shadow: 0 6px 16px rgba(91,33,182,.35), inset 0 0 0 2px rgba(226,184,87,.6); }
.hx-feat .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-xl); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-feat b { display: block; color: var(--ink); font-weight: 800; }
.hx-feat small { color: var(--muted); }

/* Diploma */
.hx-diploma { background: linear-gradient(145deg, var(--ink), var(--ink-2)); color: #fff; border-radius: 20px; padding: 34px; height: 100%; }
.hx-diploma h4 { color: var(--gold-l); font-weight: 800; margin-bottom: 18px; }
.hx-diploma ul { list-style: none; padding: 0; margin: 0 0 22px; }
.hx-diploma li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.hx-diploma li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-l); font-weight: 800; }

.hx-cert { display: inline-block; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 36px rgba(28,18,64,.15); }
.hx-cert img { display: block; width: 100%; max-height: 440px; object-fit: contain; border-radius: 12px; }

/* Global map */
.hx-map { background: #0c1733; border-radius: 18px; padding: 18px; }
.hx-map svg { width: 100%; height: auto; display: block; }
.hx-map .land { fill: #1b2c57; stroke: rgba(226,184,87,.35); stroke-width: 1; }
.hx-map .grid { stroke: rgba(255,255,255,.06); }
.hx-map .conn { fill: none; stroke: rgba(226,184,87,.35); stroke-width: 1; stroke-dasharray: 4 4; }
.hx-map .pin { cursor: pointer; }
.hx-map .pin .core { fill: var(--gold-l); stroke: #0c1733; stroke-width: 1.5; }
.hx-map .pin .radar { fill: none; stroke: var(--gold-l); opacity: 0; }
.hx-map .pin.active .core { fill: #fff; }
.hx-map .pin.active .radar { opacity: .8; animation: hxPing 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hxPing { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hx-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.hx-pill { padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(226,184,87,.4); color: #fff; font-size: .82rem; cursor: pointer; background: transparent; }
.hx-pill.active { background: var(--gold-l); color: var(--ink); font-weight: 700; }
.hx-country { transition: opacity .18s; }
.hx-country.fading { opacity: 0; }
.hx-stat { display: flex; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 18px 0; }
.hx-stat > div { flex: 1; }
.hx-stat small { color: var(--muted); display: block; }
.hx-stat b { color: var(--ink); }

/* Udyam */
.hx-udyam-meta { color: rgba(255,255,255,.8); font-size: .92rem; white-space: pre-line; }
.hx-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 99px; padding: 8px 20px; }

/* FAQ */
.hx .accordion-button:not(.collapsed) { color: var(--violet); background: transparent; box-shadow: none; }

/* ===== Theme polish for all extra sections ===== */
.hx { position: relative; overflow: hidden; }
.hx-alt { background: radial-gradient(circle at 12% 0%, rgba(139,92,246,.10), transparent 45%), radial-gradient(circle at 90% 100%, rgba(226,184,87,.18), transparent 45%), var(--cream); }
.hx-dark { background: radial-gradient(circle at 80% 10%, rgba(226,184,87,.16), transparent 45%), radial-gradient(circle at 10% 90%, rgba(139,92,246,.28), transparent 50%), linear-gradient(145deg, var(--ink), var(--ink-2)); }

/* Section headings: gold ornament underline */
.hx .hx-head h2::after { content: "✦"; display: block; margin: 10px auto 0; font-size: .9rem; color: var(--gold); letter-spacing: 0; background: linear-gradient(90deg, transparent, var(--gold-l), transparent) center / 140px 1px no-repeat; line-height: 1; padding-top: 0; }
.hx .gold { background: linear-gradient(110deg, var(--violet), var(--pink), var(--gold), var(--violet)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: hxShine 6s linear infinite; }
.hx-dark .gold, .hx-diploma .gold, .hx-card .gold { }
.hx-dark .hx-country.gold { background-image: linear-gradient(110deg, var(--gold), var(--gold-l), var(--gold)); }
@keyframes hxShine { to { background-position: 200% center; } }

/* Cards */
.hx-card { position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hx-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--violet), var(--gold-l)); opacity: .85; }
.hx-card:hover { transform: translateY(-5px); border-color: var(--gold-l); box-shadow: 0 18px 38px rgba(91,33,182,.14); }
.hx-card .ico { width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 50%; background: linear-gradient(145deg, var(--violet), var(--ink)); box-shadow: 0 6px 16px rgba(91,33,182,.3), inset 0 0 0 2px rgba(226,184,87,.6); }

/* Reviews */
.hx-ava { background: linear-gradient(145deg, var(--violet), var(--pink)); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold-l); }
.hx-alt .hx-card p { position: relative; }

/* Diploma / Udyam dark cards */
.hx-diploma { position: relative; overflow: hidden; border: 1px solid rgba(226,184,87,.35); box-shadow: 0 18px 44px rgba(28,18,64,.35); }
.hx-diploma::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(226,184,87,.28), transparent 70%); pointer-events: none; }
.hx-diploma li::before { top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: .72rem; border-radius: 50%; background: rgba(226,184,87,.2); }
.hx-diploma li { padding-left: 32px; }
.hx-cert { position: relative; transform: rotate(1.5deg); transition: transform .3s; }
.hx-cert:hover { transform: rotate(0) scale(1.02); }
.hx-cert::before { content: ""; position: absolute; inset: -10px; border: 1px dashed var(--gold-l); border-radius: 22px; z-index: -1; }

/* Map */
.hx-map { border: 1px solid rgba(226,184,87,.35); box-shadow: 0 0 40px rgba(139,92,246,.25); }
.hx-pill { transition: background .2s, transform .2s; }
.hx-pill:hover { transform: translateY(-2px); background: rgba(226,184,87,.25); }
.hx-pill.active:hover { background: var(--gold-l); }

/* Udyam badge */
.hx-badge { box-shadow: 0 6px 18px rgba(184,116,26,.18); }

/* FAQ */
#hxFaq .accordion-item { border-bottom: 1px solid var(--line); }
#hxFaq .accordion-item:last-child { border-bottom: 0; }
#hxFaq .accordion-button { color: var(--ink); padding: 18px 16px; }
#hxFaq .accordion-button:not(.collapsed) { color: var(--violet); }
#hxFaq .accordion-button:focus { box-shadow: none; }
#hxFaq .accordion-button::after { filter: hue-rotate(250deg) saturate(2); }

/* ===== Welcome demo popup ===== */
.dm-pop { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,8,38,.78); backdrop-filter: blur(4px); animation: dmFade .3s ease; }
.dm-pop[hidden] { display: none; }
.dm-pop-box { position: relative; width: min(860px, 100%); background: linear-gradient(145deg, #1c1240, #0f0826); border: 1px solid rgba(226,184,87,.5); border-radius: 22px; padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 40px rgba(139,92,246,.35); animation: dmPop .35s cubic-bezier(.2,.9,.3,1.2); }
.dm-pop-head { color: #f8e2a0; font-weight: 800; padding: 4px 44px 12px 6px; }
.dm-pop-head span { color: #e2b857; }
.dm-pop-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(226,184,87,.5); background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dm-pop-close:hover { background: #e2b857; color: #1c1240; }
.dm-pop-stage { aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.dm-pop-stage video, .dm-pop-stage iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.dm-pop-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 4px 2px; color: rgba(255,255,255,.75); }
@keyframes dmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dmPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* popup CTA (the popup sits outside .home, so style the button here) */
.dm-pop .btn.gold { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.4rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: #2a1500; background: linear-gradient(135deg, #f8e2a0, #e2b857 55%, #d38d1e); box-shadow: 0 8px 20px rgba(211,141,30,.4); }
.dm-pop .btn.gold:hover { color: #2a1500; transform: translateY(-2px); }

/* popup: no title row; keep the whole box inside the screen */
.dm-pop-box { padding-top: 14px; }
.dm-pop-stage { max-height: calc(100vh - 150px); }
.dm-pop-foot { justify-content: flex-end; }
.dm-pop-foot small:empty { display: none; }
.dm-pop-foot { justify-content: space-between; }
.dm-pop-foot .btn { margin-left: auto; }

/* popup: company name strip */
.dm-pop-brand { display: flex; align-items: center; gap: .7rem; padding: 2px 52px 12px 6px; }
.dm-pop-brand > span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #2a1500; font-size: 1rem; background: linear-gradient(135deg, #f8e2a0, #e2b857 55%, #d38d1e); }
.dm-pop-brand b { display: block; color: #f8e2a0; font-size: 1.05rem; letter-spacing: .14em; line-height: 1.1; }
.dm-pop-brand small { display: block; color: #d6cdee; font-size: .74rem; line-height: 1.25; }
.dm-pop-close { top: 12px; }
.dm-pop-stage { width: 100%; }
