/* ═══════════════ ECOSYSTEM MAP PAGE (dashboard layout) ═══════════════ */

/* ── Page & Dashboard Frame ── */
.eco-page { padding: 90px 0 60px; position: relative; z-index: 1; min-height: 100vh; }
.eco-dash { display: flex; gap: 14px; max-width: 1600px; margin: 0 auto; padding: 0 2%; align-items: stretch; }
.eco-main { flex: 1; min-width: 0; }

/* ── Left Icon Sidebar ── */
.eco-sidebar { width: 76px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 6px; backdrop-filter: blur(16px); align-self: stretch; }
.eco-side-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: 10px; background: none; border: 1px solid transparent; cursor: pointer; color: var(--muted); font-family: var(--font); transition: all .2s; text-decoration: none; }
.eco-side-item:hover { color: var(--white); background: rgba(0,242,254,0.05); }
.eco-side-item.active { color: var(--cyan); border-color: var(--border2); background: rgba(0,242,254,0.08); box-shadow: 0 0 14px rgba(0,242,254,0.12); }
.eco-side-icon { font-size: 18px; line-height: 1; }
.eco-side-lbl { font-size: 8.5px; font-weight: 600; text-align: center; line-height: 1.2; letter-spacing: .02em; }
.eco-side-spacer { flex: 1; }
.eco-side-item--boxed { border: 1px solid var(--border); }
.eco-side-item--export { border: 1px solid var(--border2); color: var(--cyan); }
.eco-side-item--export:hover { box-shadow: var(--glow-c); }

/* ── Map Canvas ── */
.eco-map-canvas { position: relative; width: 100%; height: 780px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.eco-map-svg { width: 100%; height: 100%; position: absolute; inset: 0; }

/* Country outlines with city markers (decorative) */
.eco-silhouette { position: absolute; z-index: 1; pointer-events: none; opacity: .8; }
.eco-silhouette path { fill: rgba(0,242,254,0.02); stroke: rgba(0,242,254,0.12); stroke-width: 0.7; stroke-linejoin: round; }
.eco-sil-egypt { left: 2%; bottom: 3%; width: 30%; height: 58%; }
.eco-sil-saudi { right: 3%; top: 14%; width: 36%; height: 70%; }
.eco-sil-saudi path { stroke: rgba(189,0,255,0.13); fill: rgba(189,0,255,0.02); }
.eco-cities .eco-city-dot { fill: var(--cyan); opacity: .75; animation: pDot 2.5s ease-in-out infinite; }
.eco-cities text { fill: rgba(240,244,255,0.32); font: 600 3.6px var(--font); letter-spacing: .06em; }
.eco-cities--v .eco-city-dot { fill: var(--violet); }
[data-theme="light"] .eco-cities text { fill: rgba(20,30,55,0.4); }
[data-theme="light"] .eco-silhouette path { stroke: rgba(0,120,140,0.2); }

/* ── Intro Overlay (top-left inside canvas) ── */
.eco-intro { position: absolute; top: 18px; left: 18px; z-index: 40; max-width: 252px; pointer-events: none; transition: opacity .3s; background: linear-gradient(135deg, rgba(4,6,11,0.9) 55%, rgba(4,6,11,0)); border-radius: 16px; padding: 14px 18px 16px; }
.eco-intro > * { pointer-events: auto; }
[data-theme="light"] .eco-intro { background: linear-gradient(135deg, rgba(244,247,252,0.92) 55%, rgba(244,247,252,0)); }
/* while a partner is selected, clear space for its client chips (focus mode) */
.eco-map-canvas.has-selection .eco-intro,
.eco-map-canvas.has-selection .eco-hint,
.eco-map-canvas.has-selection .eco-overview,
.eco-map-canvas.has-selection .eco-fullscreen { opacity: 0; pointer-events: none; }
.eco-map-canvas.has-selection .eco-intro > * { pointer-events: none; }
.eco-hint, .eco-overview, .eco-fullscreen { transition: opacity .3s; }
.eco-title { font-size: 21px; font-weight: 800; color: var(--white); letter-spacing: -0.6px; line-height: 1.15; margin-top: 8px; }
.eco-title .accent { color: var(--cyan); }
.eco-sub { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
.eco-intro-stats { display: flex; gap: 8px; margin-top: 14px; }
.eco-stat { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; backdrop-filter: blur(14px); min-width: 96px; }
.eco-stat-icon { font-size: 13px; display: block; margin-bottom: 3px; }
.eco-stat-num { font-size: 20px; font-weight: 800; color: var(--white); display: block; line-height: 1.1; }
.eco-stat-lbl { font-size: 9.5px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
[dir="rtl"] .eco-intro { left: auto; right: 26px; text-align: right; }

/* ── Toolbar Overlay (top-right inside canvas) ── */
.eco-toolbar { position: absolute; top: 20px; right: 20px; z-index: 45; display: flex; align-items: center; gap: 10px; }
[dir="rtl"] .eco-toolbar { right: auto; left: 20px; }
.eco-search-wrap { position: relative; width: 250px; }
.eco-search { width: 100%; padding: 10px 14px 10px 38px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; color: var(--white); font-family: var(--font); font-size: 12.5px; outline: none; transition: border-color .2s, box-shadow .2s; backdrop-filter: blur(12px); }
.eco-search:focus { border-color: var(--cyan); box-shadow: var(--glow-c); }
.eco-search::placeholder { color: var(--muted); }
.eco-search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
[dir="rtl"] .eco-search { padding: 10px 38px 10px 14px; }
[dir="rtl"] .eco-search-icon { left: auto; right: 13px; }
.eco-filter-btn { padding: 9px 16px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; color: var(--muted); font-family: var(--font); font-size: 12.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all .2s; position: relative; backdrop-filter: blur(12px); white-space: nowrap; }
.eco-filter-btn:hover { border-color: var(--cyan); color: var(--white); }
.eco-filter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* ── Country Pills (clickable region filters) ── */
.eco-country-node { position: absolute; transform: translate(-50%, -50%); z-index: 15; cursor: pointer; }
.eco-country-pill { display: flex; align-items: center; gap: 8px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 100px; padding: 9px 20px; font-size: 13px; font-weight: 700; color: var(--white); backdrop-filter: blur(16px); box-shadow: 0 0 20px rgba(0,242,254,0.1); transition: all .2s; }
.eco-country-node:hover .eco-country-pill { border-color: var(--cyan); }
.eco-country-node.active .eco-country-pill { border-color: var(--cyan); box-shadow: var(--glow-c); background: rgba(0,242,254,0.1); }
.eco-country-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pDot 2s infinite; }
@keyframes pDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

/* ── Partner Node ── */
.eco-node { position: absolute; transform: translate(-50%, -50%); cursor: pointer; transition: opacity .3s; z-index: 10; }
.eco-node:hover, .eco-node.active { z-index: 60; }
/* region-tinted orbit rings */
.eco-node[data-region="Saudi Arabia"] .eco-node-circle { border-color: rgba(189,0,255,0.42); box-shadow: 0 0 20px rgba(189,0,255,0.12); }
.eco-node[data-region="Saudi Arabia"]:hover .eco-node-circle,
.eco-node[data-region="Saudi Arabia"].active .eco-node-circle { border-color: var(--violet); box-shadow: 0 0 20px rgba(189,0,255,0.45), 0 0 40px rgba(189,0,255,0.18); }
.eco-node[data-region="Saudi Arabia"] .eco-node-circle::before { background: conic-gradient(var(--violet) 0%, transparent 60%); }
.eco-node-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.eco-node-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--surface2); border: 2px solid var(--border2); display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(16px); transition: all .3s; box-shadow: 0 0 20px rgba(0,242,254,0.1); position: relative; }
.eco-node-circle::before { content:''; position:absolute; inset:-1px; border-radius:50%; background:conic-gradient(var(--cyan) 0%, transparent 60%); opacity:0; transition:opacity .3s; animation: nodeRotate 3s linear infinite; }
@keyframes nodeRotate { to { transform: rotate(360deg); } }
.eco-node:hover .eco-node-circle, .eco-node.active .eco-node-circle { border-color: var(--cyan); box-shadow: var(--glow-c), 0 0 40px rgba(0,242,254,0.15); transform: scale(1.08); }
.eco-node.active .eco-node-circle::before { opacity:0.4; }
.eco-node-icon { font-size: 23px; }
.eco-node-label { font-size: 12px; font-weight: 700; color: var(--white); white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; background: rgba(14,20,34,0.92); border: 1px solid var(--border2); border-radius: 8px; padding: 4px 12px; backdrop-filter: blur(14px); box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.eco-node-sub { font-size: 9.5px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(14,20,34,0.75); border-radius: 6px; padding: 2px 8px; }
.eco-node.dimmed { opacity: 0.2; pointer-events: none; }

/* ── Center Node (Microsoft) ── */
.eco-center-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 20; }
.eco-center-ring { position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(0,242,254,0.15); animation: centerPulse 2.5s ease-in-out infinite; }
.eco-center-ring:nth-child(2) { inset: -44px; animation-delay: 0.6s; }
.eco-center-ring:nth-child(3) { inset: -66px; animation-delay: 1.2s; }
@keyframes centerPulse { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:0.2;transform:scale(1.05)} }
.eco-center-circle { width: 160px; height: 160px; background: var(--surface2); border: 2px solid rgba(0,242,254,0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(24px); clip-path: polygon(50% 0%, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); position: relative; z-index: 5; }
.eco-center-node { filter: drop-shadow(0 0 26px rgba(0,242,254,0.28)); animation: coreGlow 3s ease-in-out infinite alternate; }
@keyframes coreGlow { from { filter: drop-shadow(0 0 22px rgba(0,242,254,0.22)); } to { filter: drop-shadow(0 0 40px rgba(0,242,254,0.4)); } }
.eco-center-logo { margin-bottom: 8px; }
.eco-center-text { font-size: 13px; font-weight: 700; color: var(--white); text-align: center; letter-spacing: 0.2px; line-height: 1.35; }

/* ── Company Badge Nodes ── */
.eco-company-node { position: absolute; transform: translate(-50%, -50%); z-index: 8; cursor: pointer; }
.eco-company-badge { display: flex; align-items: center; gap: 6px; background: rgba(16,22,36,0.78); border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 600; color: var(--muted); backdrop-filter: blur(12px); transition: all .2s; white-space: nowrap; max-width: 185px; overflow: hidden; text-overflow: ellipsis; }
.eco-company-badge:hover, .eco-company-badge.highlighted { border-color: var(--cyan); color: var(--white); background: rgba(0,242,254,0.07); box-shadow: 0 0 12px rgba(0,242,254,0.15); }
.eco-company-icon { font-size: 12px; }
.eco-company-node.dimmed { opacity: 0.15; }

/* ── SVG Connection Lines ── */
.eco-line-country { stroke: var(--cyan); stroke-width: 1.5; fill: none; stroke-dasharray: 8 6; animation: dashFlow 1.5s linear infinite; opacity: 0.4; }
.eco-line-partner { stroke: rgba(0,242,254,0.3); stroke-width: 1; fill: none; }
.eco-line-company { stroke: rgba(0,242,254,0.15); stroke-width: 1; fill: none; }
.eco-line-active { stroke: var(--cyan); stroke-width: 2; opacity: 0.8; filter: drop-shadow(0 0 4px rgba(0,242,254,0.6)); }
@keyframes dashFlow { to { stroke-dashoffset: -28; } }
.eco-particle { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); opacity: 0.8; }

/* ── Floating Partner Card (photo style) ── */
.eco-card { position: absolute; z-index: 60; width: 300px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 16px; padding: 20px; backdrop-filter: blur(28px); box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,242,254,0.1); opacity: 0; pointer-events: none; transform: scale(.95); transition: opacity .22s, transform .22s; }
.eco-card.visible { opacity: 1; pointer-events: auto; transform: scale(1); }
.eco-card-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.eco-card-close:hover { border-color: var(--cyan); color: var(--white); }
.eco-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eco-card-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(0,242,254,0.08); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.eco-card-name { font-size: 15px; font-weight: 800; color: var(--white); }
.eco-card-type { font-size: 10.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.eco-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.eco-card-meta-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; display: flex; align-items: center; gap: 8px; }
.eco-card-meta-icon { font-size: 13px; }
.eco-card-meta-num { font-size: 14px; font-weight: 800; color: var(--white); display: block; line-height: 1.1; }
.eco-card-meta-lbl { font-size: 9px; color: var(--muted); }
.eco-card-sec { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.eco-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.eco-card-tag { background: rgba(0,242,254,0.07); border: 1px solid rgba(0,242,254,0.2); color: var(--cyan); padding: 4px 11px; border-radius: 6px; font-size: 10.5px; font-weight: 600; }
.eco-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 12.5px; font-weight: 700; background: none; border: none; cursor: pointer; font-family: var(--font); padding: 0; transition: opacity .2s; }
.eco-card-link:hover { opacity: .75; }

/* ── Partner Detail Panel (full profile slide-in) ── */
.eco-panel { position: fixed; top: 0; right: -440px; width: 420px; height: 100vh; background: var(--surface2); border-left: 1px solid var(--border2); backdrop-filter: blur(32px); z-index: 500; padding: 80px 28px 40px; overflow-y: auto; transition: right .35s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; gap: 0; }
.eco-panel.open { right: 0; }
.eco-panel-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.eco-panel-close:hover { border-color: var(--cyan); color: var(--white); }
.eco-panel-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.eco-panel-avatar { width: 52px; height: 52px; border-radius: 14px; background: rgba(0,242,254,0.08); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.eco-panel-name { font-size: 18px; font-weight: 800; color: var(--white); }
.eco-panel-type { font-size: 12px; color: var(--muted); margin-top: 2px; }
.eco-tier { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-top: 6px; }
.eco-tier-gold { background: rgba(255,185,0,0.15); border: 1px solid rgba(255,185,0,0.4); color: #FFB900; }
.eco-tier-silver { background: rgba(150,150,170,0.15); border: 1px solid rgba(150,150,170,0.4); color: #B0B8CC; }
.eco-panel-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.eco-meta-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; }
.eco-meta-num { font-size: 20px; font-weight: 800; color: var(--cyan); display: block; }
.eco-meta-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; }
.eco-panel-section-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.eco-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.eco-tag { background: rgba(0,242,254,0.07); border: 1px solid rgba(0,242,254,0.2); color: var(--cyan); padding: 5px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.eco-clients-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.eco-client-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 14px; }
.eco-client-card:hover { border-color: var(--border2); background: var(--surface2); transform: translateX(-4px); box-shadow: 0 4px 20px rgba(0,242,254,0.08); }
.eco-client-icon-wrap { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,242,254,0.07); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.eco-client-info { flex: 1; min-width: 0; }
.eco-client-name { font-size: 13.5px; font-weight: 700; color: var(--white); }
.eco-client-industry { font-size: 11px; color: var(--muted); margin-top: 2px; }
.eco-client-location { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.eco-client-arr { color: var(--muted); font-size: 16px; flex-shrink: 0; transition: color .2s; }
.eco-client-card:hover .eco-client-arr { color: var(--cyan); }
.eco-panel-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 1px solid var(--cyan); border-radius: 10px; color: var(--cyan); font-weight: 600; font-size: 13px; text-decoration: none; transition: all .2s; font-family: var(--font); background: rgba(0,242,254,0.05); cursor: pointer; }
.eco-panel-cta:hover { background: rgba(0,242,254,0.12); box-shadow: var(--glow-c); }

/* ── Customer Detail Popup ── */
.eco-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.92); background: var(--surface2); border: 1px solid var(--border2); border-radius: 20px; padding: 28px; width: 340px; backdrop-filter: blur(32px); z-index: 600; box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-c); opacity: 0; pointer-events: none; transition: all .25s cubic-bezier(0.4, 0, 0.2, 1); }
.eco-popup.visible { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.eco-popup-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.eco-popup-close:hover { border-color: var(--cyan); color: var(--white); }
.eco-popup-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(0,242,254,0.08); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.eco-popup-name { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.eco-popup-industry { font-size: 12px; color: var(--cyan); font-weight: 600; margin-bottom: 16px; }
.eco-popup-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.eco-popup-row:last-of-type { border-bottom: none; }
.eco-popup-key { color: var(--muted); }
.eco-popup-val { color: var(--white); font-weight: 600; }
.eco-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 550; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(4px); }
.eco-overlay.visible { opacity: 1; pointer-events: all; }

/* ── Ecosystem Overview Widget ── */
.eco-overview { position: absolute; bottom: 20px; right: 20px; background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; backdrop-filter: blur(20px); z-index: 30; min-width: 190px; }
[dir="rtl"] .eco-overview { right: auto; left: 20px; }
.eco-overview-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.eco-donut-wrap { display: flex; align-items: center; gap: 14px; }
.eco-donut-legend { display: flex; flex-direction: column; gap: 6px; }
.eco-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.eco-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.eco-legend-val { font-weight: 700; color: var(--white); margin-left: 2px; }

/* ── Interaction Hint ── */
.eco-hint { position: absolute; bottom: 20px; left: 26px; z-index: 30; display: flex; align-items: center; gap: 8px; background: var(--surface2); border: 1px solid var(--border); border-radius: 100px; padding: 8px 16px; font-size: 11.5px; color: var(--muted); backdrop-filter: blur(16px); animation: hintPulse 3s ease-in-out infinite; }
@keyframes hintPulse { 0%,100% { border-color: var(--border); } 50% { border-color: var(--border2); } }
[dir="rtl"] .eco-hint { left: auto; right: 26px; }
@media(max-width: 900px) { .eco-hint { display: none; } }

/* ── Fullscreen Button ── */
.eco-fullscreen { position: absolute; bottom: 20px; right: 230px; width: 42px; height: 42px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--border2); color: var(--cyan); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 30; backdrop-filter: blur(16px); }
.eco-fullscreen:hover { box-shadow: var(--glow-c); }
[dir="rtl"] .eco-fullscreen { right: auto; left: 230px; }

/* ── Filter Panel (open by default on desktop) ── */
.eco-filter-panel { position: absolute; top: 76px; right: 20px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 16px; padding: 20px; backdrop-filter: blur(24px); z-index: 100; width: 225px; display: none; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.eco-filter-panel.open { display: block; }
[dir="rtl"] .eco-filter-panel { right: auto; left: 20px; }
.eco-filter-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.eco-filter-group { margin-bottom: 14px; }
.eco-filter-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.eco-filter-select { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--white); font-family: var(--font); font-size: 12.5px; outline: none; cursor: pointer; }
.eco-filter-select:focus { border-color: var(--cyan); }
.eco-filter-reset { font-size: 12px; color: var(--cyan); background: none; border: none; cursor: pointer; font-family: var(--font); display: flex; align-items: center; gap: 4px; margin-top: 4px; padding: 0; transition: opacity .2s; }
.eco-filter-reset:hover { opacity: 0.7; }

/* ── Data Source Note ── */
.eco-disclaimer { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 0 6px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.eco-disclaimer a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.eco-disclaimer a:hover { opacity: .75; }

/* ── KPI Ticker ── */
.eco-ticker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 18px; margin-bottom: 14px; font-size: 12.5px; color: var(--muted); backdrop-filter: blur(12px); }
.eco-ticker-item b { color: var(--cyan); font-weight: 800; }
.eco-ticker-sep { color: var(--border2); }

/* ── Ecosystem Insights Row ── */
.eco-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.eco-insight-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; backdrop-filter: blur(12px); }
.eco-insight-title { font-size: 13.5px; font-weight: 800; color: var(--white); }
.eco-insight-sub { font-size: 10.5px; color: var(--muted); margin: 3px 0 12px; }
.eco-top-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 12px; }
.eco-top-row:last-child { border-bottom: none; }
.eco-top-row:hover .eco-top-name { color: var(--cyan); }
.eco-top-rank { width: 20px; height: 20px; border-radius: 6px; background: rgba(0,242,254,0.08); border: 1px solid var(--border); color: var(--cyan); font-weight: 800; font-size: 10.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eco-top-name { flex: 1; color: var(--white); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.eco-top-meta { color: var(--muted); font-size: 11px; white-space: nowrap; }
.eco-bar-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 11.5px; }
.eco-bar-lbl { width: 108px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.eco-bar-track { flex: 1; height: 7px; background: rgba(0,242,254,0.07); border-radius: 4px; overflow: hidden; }
.eco-bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan2), var(--cyan)); border-radius: 4px; }
.eco-bar-fill--v { background: linear-gradient(90deg, var(--violet), #D98BFF); }
.eco-bar-val { width: 38px; text-align: right; color: var(--white); font-weight: 700; font-size: 11px; flex-shrink: 0; }
@media(max-width: 900px) { .eco-insights { grid-template-columns: 1fr; } }

/* ── Light Mode ── */
[data-theme="light"] .eco-map-canvas { background: rgba(255,255,255,0.45); }
[data-theme="light"] .eco-silhouette { opacity: .3; }
[data-theme="light"] .eco-node-label { background: rgba(255,255,255,0.94); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
[data-theme="light"] .eco-node-sub { background: rgba(255,255,255,0.85); }
[data-theme="light"] .eco-company-badge { background: rgba(255,255,255,0.9); }
[data-theme="light"] .eco-line-partner { stroke: rgba(0,140,160,0.35); }
[data-theme="light"] .eco-line-company { stroke: rgba(0,140,160,0.25); }

/* ── Monogram avatars ── */
.eco-mono { color: #fff; font-weight: 800; letter-spacing: .5px; display: flex; align-items: center; justify-content: center; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.eco-card-avatar.eco-mono { font-size: 14px; }
.eco-panel-avatar.eco-mono { font-size: 17px; }
.eco-node-mono { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .5px; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }

/* keyboard focus visibility */
.eco-node:focus-visible { outline: none; }
.eco-node:focus-visible .eco-node-circle { border-color: var(--cyan); box-shadow: var(--glow-c), 0 0 0 3px rgba(0,242,254,0.35); }
.eco-dir-card:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,242,254,0.25); }

/* ── Directory toolbar (sort) ── */
.eco-dir-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eco-dir-sort-lbl { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eco-dir-sort { width: auto; min-width: 160px; padding: 7px 10px; }

/* ── Directory empty state ── */
.eco-dir-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--muted); }
.eco-dir-empty-icon { font-size: 34px; margin-bottom: 10px; opacity: .8; }
.eco-dir-empty-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.eco-dir-empty-sub { font-size: 12.5px; margin-bottom: 16px; }

/* ── Panel button row ── */
.eco-panel-btnrow { display: flex; gap: 8px; }
.eco-panel-btnrow .eco-panel-cta { flex: 1; }
.eco-panel-cta--ghost { border-color: var(--border2); color: var(--muted); background: var(--surface); }
.eco-panel-cta--ghost:hover { border-color: var(--cyan); color: var(--white); box-shadow: none; background: var(--surface2); }

/* ── Full Partner Directory ── */
.eco-dir { margin-top: 36px; }
.eco-dir-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.eco-dir-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.eco-dir-title .accent { color: var(--cyan); }
.eco-dir-count { font-size: 12px; color: var(--muted); }
.eco-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.eco-dir-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.eco-dir-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,242,254,0.08); }
.eco-dir-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.eco-dir-card-name { font-size: 14px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-dir-card-city { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-dir-card-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; }
.eco-dir-card-foot > span:first-child { color: var(--white); font-weight: 700; }
.eco-dir-card-view { color: var(--cyan); font-weight: 600; }
.eco-dir-more { margin: 22px auto 0; display: inline-flex; }
.eco-dir > .eco-dir-more { display: inline-flex; position: relative; left: 50%; transform: translateX(-50%); }

/* Tier badge variants */
.eco-tier--sm { font-size: 10px; padding: 3px 8px; margin-top: 0; }
.eco-tier--diamond { background: rgba(189,0,255,0.12); border: 1px solid rgba(189,0,255,0.4); color: #D98BFF; }
.eco-tier--innercircle { background: rgba(255,185,0,0.15); border: 1px solid rgba(255,185,0,0.4); color: #FFB900; }
.eco-tier--gold { background: rgba(255,185,0,0.1); border: 1px solid rgba(255,185,0,0.3); color: #E8C36A; }
.eco-tier--silver, .eco-tier--certified { background: rgba(150,150,170,0.15); border: 1px solid rgba(150,150,170,0.4); color: #B0B8CC; }
/* Light mode: darken tier-badge text so it reads on the light tinted pills */
[data-theme="light"] .eco-tier--diamond { color: #9500E0; }
[data-theme="light"] .eco-tier--innercircle { color: #9A6A00; }
[data-theme="light"] .eco-tier--gold { color: #8A6A12; }
[data-theme="light"] .eco-tier--silver, [data-theme="light"] .eco-tier--certified { color: #565F73; }

/* Company chip pop-in (chips shown for selected partner only) */
.eco-company-node--pop { animation: chipPop .25s cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes chipPop { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ── Paywall gate ── */
.eco-lock-chip { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 32; display: inline-flex; align-items: center; gap: 6px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 100px; padding: 8px 18px; font-size: 12px; color: var(--muted); cursor: pointer; backdrop-filter: blur(16px); font-family: var(--font); transition: border-color .2s, box-shadow .2s; }
.eco-lock-chip:hover { border-color: var(--cyan); box-shadow: var(--glow-c); }
.eco-lock-chip b { color: var(--white); font-weight: 800; }
.eco-unlock-link { color: var(--cyan); font-weight: 700; }
[data-theme="light"] .eco-lock-chip b { color: var(--bg); }

.eco-dir-unlock { display: flex; align-items: center; gap: 16px; margin: 20px auto 0; max-width: 640px; padding: 18px 22px; background: linear-gradient(135deg, rgba(0,242,254,0.06), rgba(189,0,255,0.05)); border: 1px solid var(--border2); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.eco-dir-unlock:hover { border-color: var(--cyan); box-shadow: 0 8px 30px rgba(0,242,254,0.1); transform: translateY(-2px); }
.eco-dir-unlock-ic { font-size: 30px; flex-shrink: 0; }
.eco-dir-unlock-title { font-size: 15px; font-weight: 800; color: var(--white); }
.eco-dir-unlock-title b { color: var(--cyan); }
.eco-dir-unlock-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.eco-dir-unlock-cta { margin-left: auto; color: var(--cyan); font-weight: 800; font-size: 14px; white-space: nowrap; }
[dir="rtl"] .eco-dir-unlock-cta { margin-left: 0; margin-right: auto; }

.eco-top-locked { cursor: pointer; opacity: .9; }
.eco-top-locked:hover { opacity: 1; }
.eco-top-locked .eco-top-name { color: var(--cyan); font-weight: 700; }

.eco-client-locked { cursor: pointer; border-style: dashed !important; }
.eco-client-locked:hover { border-color: var(--cyan); }

/* Unlock modal */
.eco-lockmodal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.94); width: 380px; max-width: calc(100vw - 40px); background: var(--surface2); border: 1px solid var(--border2); border-radius: 20px; padding: 30px 28px 24px; text-align: center; backdrop-filter: blur(32px); z-index: 620; box-shadow: 0 24px 70px rgba(0,0,0,0.6), var(--glow-c); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.eco-lockmodal.visible { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.eco-lock-ic { font-size: 34px; margin-bottom: 8px; }
.eco-lock-title { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.eco-lock-sub { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.eco-lock-sub b { color: var(--cyan); }
.eco-lock-input { width: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; color: var(--white); font-family: var(--font); font-size: 14px; outline: none; text-align: center; letter-spacing: .04em; transition: border-color .2s, box-shadow .2s; }
.eco-lock-input:focus { border-color: var(--cyan); box-shadow: var(--glow-c); }
.eco-lock-err { min-height: 16px; font-size: 12px; color: #ff6b6b; margin: 8px 0 12px; }
.eco-lockmodal .eco-panel-cta { width: 100%; }
.eco-lock-note { font-size: 11px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.eco-lock-note a { color: var(--cyan); }
#ecoLockOverlay { z-index: 615; }
.eco-lock-or { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin: 14px 0 10px; }
#ecoLockCheckout[disabled] { opacity: .5; cursor: not-allowed; border-color: var(--border2); color: var(--muted); background: var(--surface); box-shadow: none; }

/* ── Access Plans ── */
.eco-plans { margin-top: 30px; }
.eco-plans-head { text-align: center; margin-bottom: 20px; }
.eco-plans-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.eco-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.eco-plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.eco-plan:hover { border-color: var(--border2); transform: translateY(-3px); }
.eco-plan--feat { border-color: var(--border2); box-shadow: 0 8px 30px rgba(0,242,254,0.08); }
.eco-plan.owned { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 8px 30px rgba(0,242,254,0.12); }
.eco-plan-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--cyan2), var(--cyan)); color: #04060B; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 12px; border-radius: 100px; white-space: nowrap; }
.eco-plan-ic { font-size: 30px; }
.eco-plan-name { font-size: 17px; font-weight: 800; color: var(--white); margin-top: 8px; }
.eco-plan-price { margin: 10px 0 14px; color: var(--muted); font-size: 13px; }
.eco-plan-price b { font-size: 30px; font-weight: 800; color: var(--white); }
.eco-plan-feat { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.eco-plan-feat li { font-size: 12.5px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.5; }
.eco-plan-feat li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
[dir="rtl"] .eco-plan-feat li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .eco-plan-feat li::before { left: auto; right: 0; }
.eco-plan .eco-panel-cta { width: 100%; }
.eco-plan.owned .eco-panel-cta { border-color: var(--cyan); color: var(--cyan); background: rgba(0,242,254,0.08); pointer-events: none; }
.eco-plans-note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.eco-plans-note a { color: var(--cyan); }
@media(max-width: 760px) { .eco-plans-grid { grid-template-columns: 1fr; max-width: 380px; } }

/* ── Get Listed (lead capture) ── */
.eco-join { margin-top: 34px; }
.eco-join-head { text-align: center; margin-bottom: 20px; }
.eco-join-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
@media(max-width: 900px) { .eco-join-grid { grid-template-columns: 1fr; max-width: 400px; } }
.eco-join-card { background: linear-gradient(135deg, rgba(0,242,254,0.05), rgba(189,0,255,0.04)); border: 1px solid var(--border2); border-radius: 16px; padding: 24px 22px; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s; }
.eco-join-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,242,254,0.1); }
.eco-join-ic { font-size: 32px; }
.eco-join-name { font-size: 17px; font-weight: 800; color: var(--white); margin-top: 8px; }
.eco-join-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 8px 0 18px; }
.eco-join-btns { display: flex; flex-direction: column; gap: 8px; }
.eco-join-btns .eco-panel-cta { width: 100%; text-decoration: none; }
@media(max-width: 640px) { .eco-join-grid { grid-template-columns: 1fr; max-width: 380px; } }
.eco-join-note { font-size: 11px; color: var(--cyan); margin-bottom: 12px; opacity: .85; }

/* ── Partner Solutions (in profile panel) ── */
.eco-sol-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.eco-sol-item { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--cyan); border-radius: 10px; padding: 12px 14px; }
[dir="rtl"] .eco-sol-item { border-left: 1px solid var(--border); border-right: 3px solid var(--cyan); }
.eco-sol-name { font-size: 13.5px; font-weight: 800; color: var(--white); text-decoration: none; }
a.eco-sol-name:hover { color: var(--cyan); }
.eco-sol-cat { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 700; color: var(--cyan); background: rgba(0,242,254,0.08); border: 1px solid var(--border2); border-radius: 5px; padding: 1px 7px; vertical-align: middle; }
[dir="rtl"] .eco-sol-cat { margin-left: 0; margin-right: 8px; }
.eco-sol-desc { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.eco-sol-price { font-size: 11px; color: var(--white); font-weight: 600; margin-top: 5px; }
.eco-sol-empty { display: flex; flex-direction: column; gap: 6px; background: rgba(0,242,254,0.04); border: 1px dashed var(--border2); border-radius: 10px; padding: 13px 15px; margin-bottom: 24px; font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; transition: border-color .2s; }
.eco-sol-empty:hover { border-color: var(--cyan); }
.eco-sol-empty b { color: var(--white); }

/* ── Get-Listed Form Modal ── */
.eco-formmodal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.96); width: 560px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--surface2); border: 1px solid var(--border2); border-radius: 20px; padding: 26px 26px 20px; backdrop-filter: blur(32px); z-index: 620; box-shadow: 0 24px 70px rgba(0,0,0,0.6), var(--glow-c); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.eco-formmodal.visible { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
#ecoFormOverlay { z-index: 615; }
.eco-form-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.eco-form-roles { display: flex; gap: 8px; margin-bottom: 16px; }
.eco-form-role { flex: 1; padding: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.eco-form-role:hover { color: var(--white); }
.eco-form-role.active { border-color: var(--cyan); color: var(--cyan); background: rgba(0,242,254,0.08); box-shadow: var(--glow-c); }
.eco-form-scroll { overflow-y: auto; flex: 1; margin: 0 -6px; padding: 0 6px; }
.eco-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eco-field { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.eco-field--full { grid-column: 1 / -1; }
.eco-field input, .eco-field select, .eco-cust-f { width: 100%; padding: 9px 11px; background: var(--surface); border: 1px solid var(--border2); border-radius: 8px; color: var(--white); font-family: var(--font); font-size: 13px; outline: none; transition: border-color .2s, box-shadow .2s; }
.eco-field input:focus, .eco-field select:focus, .eco-cust-f:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,242,254,0.15); }
.eco-form-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 10px; font-size: 13px; font-weight: 800; color: var(--white); flex-wrap: wrap; }
.eco-form-hint { font-size: 11px; font-weight: 500; color: var(--muted); }
.eco-cust-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.eco-cust-del { width: 30px; height: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 13px; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.eco-cust-del:hover { border-color: #ff6b6b; color: #ff6b6b; }
.eco-form-add { margin-top: 4px; padding: 8px 14px; background: rgba(0,242,254,0.06); border: 1px dashed var(--border2); border-radius: 8px; color: var(--cyan); font-family: var(--font); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.eco-form-add:hover { background: rgba(0,242,254,0.12); border-style: solid; }
.eco-form-actions { display: flex; gap: 8px; margin-top: 6px; }
.eco-form-actions .eco-panel-cta { flex: 1; }
#ecoFormErr { text-align: center; }

/* thank-you state (after email sent) */
.eco-form-thanks { display: none; text-align: center; padding: 26px 10px 8px; }
.eco-formmodal.thanks .eco-form-thanks { display: block; }
.eco-formmodal.thanks .eco-form-roles,
.eco-formmodal.thanks .eco-form-scroll,
.eco-formmodal.thanks .eco-form-actions,
.eco-formmodal.thanks #ecoFormErr,
.eco-formmodal.thanks > .eco-lock-note { display: none; }
.eco-form-thanks-ic { font-size: 46px; line-height: 1; }
.eco-form-thanks-title { font-size: 20px; font-weight: 800; color: var(--white); margin: 12px 0 6px; }
.eco-form-thanks-sub { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.eco-form-thanks .eco-panel-cta { min-width: 160px; }
@media(max-width: 620px) {
  .eco-form-grid { grid-template-columns: 1fr; }
  /* stack each customer's fields on phones (was a cramped 5-column grid) */
  .eco-cust-row { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-bottom: 10px; }
  .eco-cust-row .eco-cust-f { width: 100%; margin-bottom: 6px; }
  .eco-cust-del { width: 100%; height: 32px; }
}

/* ── Bottom Value Props Banner ── */
.eco-banner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 18px; }
.eco-banner-item { background: var(--surface); padding: 22px 24px; display: flex; align-items: center; gap: 14px; transition: background .2s; }
.eco-banner-item:hover { background: var(--surface2); }
.eco-banner-icon { font-size: 24px; flex-shrink: 0; }
.eco-banner-text h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.eco-banner-text p { font-size: 11.5px; color: var(--muted); }

/* ── Responsive ── */
@media(max-width: 1100px) {
  .eco-sidebar { display: none; }
  .eco-panel { width: 100%; right: -100%; }
  .eco-banner { grid-template-columns: repeat(2, 1fr); }
}
/* ── Mobile: the orbit visualization needs desktop space, so on small
   screens we hide it and surface the intro + search; browsing happens via
   the searchable directory below. ── */
@media(max-width: 900px) {
  .eco-map-outer { background: none; border: none; }
  .eco-map-canvas { height: auto; min-height: 0; overflow: visible; background: none; border: none; border-radius: 0; padding: 0; }
  .eco-map-svg, #ecoNodes, .eco-center-node, .eco-country-node, .eco-silhouette,
  .eco-lock-chip, .eco-fullscreen, .eco-overview, .eco-hint, .eco-card { display: none !important; }
  .eco-intro { position: static; max-width: 100%; padding: 4px 2px 14px; background: none; }
  .eco-toolbar { position: static; padding: 0 2px 10px; flex-wrap: wrap; gap: 10px; }
  .eco-search-wrap { flex: 1 1 100%; width: auto; }
  .eco-filter-panel { position: static; width: auto; margin: 0 2px 12px; box-shadow: none; }
}
@media(max-width: 640px) {
  .eco-banner { grid-template-columns: 1fr; }
}
