:root {
  --bg: #f5f7fb;
  --panel: rgba(255,255,255,.96);
  --panel-solid: #ffffff;
  --text: #12192b;
  --muted: #6d7890;
  --muted-2: #929db1;
  --line: #e6eaf1;
  --line-strong: #d9dfeb;
  --navy: #0b1020;
  --navy-2: #111a33;
  --brand: #5b55f7;
  --brand-2: #7b6cf6;
  --brand-dark: #4540dc;
  --cyan: #24c9d8;
  --soft: #f0efff;
  --good: #12a170;
  --good-soft: #eaf9f4;
  --warn: #c17a16;
  --danger: #d54f5f;
  --shadow: 0 14px 38px rgba(29, 36, 64, .08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 48, .14);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: currentColor; }
a { color: inherit; }

.app-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .55; }
.orb-one { width: 560px; height: 560px; right: -190px; top: -180px; background: radial-gradient(circle, rgba(111,91,246,.20), rgba(111,91,246,0) 70%); }
.orb-two { width: 460px; height: 460px; left: -220px; top: 420px; background: radial-gradient(circle, rgba(36,201,216,.13), rgba(36,201,216,0) 70%); }
.grid-glow { position: absolute; inset: 0 0 auto; height: 520px; background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent); }

.site-header { height: 78px; padding: 0 clamp(20px, 4vw, 64px); background: rgba(11,16,32,.96); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); position: relative; z-index: 5; }
.brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--cyan)); box-shadow: 0 8px 28px rgba(91,85,247,.35); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-weight: 800; letter-spacing: -.01em; font-size: 15px; }
.brand-subtitle { color: #8f9ab4; font-size: 11px; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.api-badge { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.06); font-size: 12px; color: #c9d2e8; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #f3b94f; box-shadow: 0 0 0 4px rgba(243,185,79,.10); }
.status-pill.ok .status-dot { background: #31d49a; box-shadow: 0 0 0 4px rgba(49,212,154,.11); }
.status-pill.bad .status-dot { background: #ff7a88; box-shadow: 0 0 0 4px rgba(255,122,136,.11); }

.page-shell { max-width: 1720px; margin: 0 auto; padding: 0 clamp(16px, 3.2vw, 54px) 42px; }
.hero { min-height: 390px; margin: 0 calc(clamp(16px, 3.2vw, 54px) * -1); padding: 62px clamp(20px, 5.5vw, 94px) 108px; background: radial-gradient(circle at 78% 30%, rgba(91,85,247,.22), transparent 24%), linear-gradient(135deg, #0b1020 0%, #111a33 58%, #10182d 100%); color: #fff; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); align-items: center; gap: 60px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 15%, transparent 90%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 820px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .16em; font-weight: 850; color: #a9b4cf; }
.eyebrow span { width: 25px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--brand-2)); border-radius: 2px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin: 15px 0 18px; font-weight: 790; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #c9c5ff, #7de7ef); background-clip: text; -webkit-background-clip: text; }
.hero p { max-width: 690px; margin: 0; color: #aeb9d0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-pills span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; color: #cbd4e8; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero-pills svg { width: 14px; height: 14px; color: #79e2ea; }
.hero-visual { position: relative; height: 265px; min-width: 360px; z-index: 1; }
.visual-card { position: absolute; width: 360px; height: 236px; right: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); }
.card-back { transform: translate(27px, 15px) rotate(5deg); background: linear-gradient(145deg, rgba(91,85,247,.3), rgba(36,201,216,.08)); opacity: .55; }
.card-main { padding: 19px; background: rgba(255,255,255,.93); color: var(--navy); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); transform: rotate(-2deg); }
.visual-top { display: flex; gap: 5px; }
.visual-top span { width: 7px; height: 7px; border-radius: 50%; background: #d8deea; }
.visual-top span:first-child { background: #ff8b93; }.visual-top span:nth-child(2) { background:#f2c34b; }.visual-top span:nth-child(3){background:#56d29f;}
.visual-search { height: 34px; margin: 16px 0 15px; border: 1px solid #e4e8f1; border-radius: 10px; display: flex; align-items: center; gap: 9px; padding: 0 11px; }
.visual-search i { width: 13px; height: 13px; border: 2px solid #aab4c8; border-radius: 50%; position: relative; }.visual-search i::after { content:""; position:absolute; width:6px; height:2px; background:#aab4c8; transform:rotate(45deg); right:-5px; bottom:-2px; }
.visual-search b { width: 130px; height: 6px; border-radius: 5px; background:#e7eaf1; }
.visual-line { height: 8px; border-radius: 6px; background:#d9deea; margin-bottom: 8px; }.visual-line.wide{width:78%;}.visual-line.med{width:54%; background:#e9ecf3;}
.mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:16px 0; }.mini-grid div{padding:10px;border:1px solid #e9ecf3;border-radius:11px;background:#fafbfe}.mini-grid strong{display:block;font-size:18px;color:#2e3650}.mini-grid span{display:block;margin-top:1px;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#98a1b4}
.lead-lines { display:grid; gap:7px; }.lead-lines span{display:block;height:7px;border-radius:5px;background:#eef0f5}.lead-lines span:nth-child(1){width:93%}.lead-lines span:nth-child(2){width:75%}.lead-lines span:nth-child(3){width:86%}.lead-lines span:nth-child(4){width:64%}
.floating-chip { position:absolute; padding:9px 11px; border-radius:10px; background:#fff; color:#26304a; box-shadow:0 13px 34px rgba(3,8,24,.25); font-size:11px; font-weight:800; }
.chip-a { left: 3px; top: 34px; }.chip-a::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#29c994;margin-right:6px}.chip-b{right:-9px;bottom:8px;color:#5049de}.chip-b::before{content:"✓";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#eeedff;margin-right:6px;font-size:10px}

.panel { background: var(--panel); border: 1px solid rgba(222,227,237,.92); border-radius: 20px; box-shadow: var(--shadow); }
.search-card { position: relative; z-index: 3; margin-top: -55px; padding: 24px 26px 20px; backdrop-filter: blur(14px); }
.section-heading, .results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.section-kicker { display:block; color: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .14em; margin-bottom: 5px; }
.section-heading h2, .results-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.section-note { color: var(--muted-2); font-size: 12px; text-align: right; }
.form-grid { display: grid; grid-template-columns: 1.18fr 1.05fr 150px 200px; gap: 12px; align-items: end; }
.field { display: block; min-width: 0; }
.field-label { display: block; font-size: 11px; font-weight: 800; color: #667188; margin: 0 0 7px 2px; }
.input-shell, .select-shell, .filter-shell { height: 48px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.input-shell { padding: 0 12px; }.input-shell svg, .filter-shell svg { width: 17px; height: 17px; color: #8792a8; flex: 0 0 auto; }
.input-shell:focus-within, .select-shell:focus-within, .filter-shell:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,85,247,.09); }
input, select { color: var(--text); background: transparent; border: 0; outline: 0; width: 100%; min-width: 0; }
input::placeholder { color: #aab2c2; }
.select-shell { padding: 0 9px 0 12px; position: relative; }.select-shell select { appearance:none; height:100%; cursor:pointer; font-weight:700; color:#48536b; }.select-shell svg { width:16px;height:16px;color:#8893a9;pointer-events:none; }
.btn { min-height: 42px; border: 0; border-radius: 11px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 12px; cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.46;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.btn.primary { height: 48px; color: #fff; background: linear-gradient(135deg, #655df7, #4d49e8); box-shadow: 0 9px 22px rgba(91,85,247,.24); }.btn.primary:hover:not(:disabled){box-shadow:0 11px 27px rgba(91,85,247,.31);background:linear-gradient(135deg,#7068fb,#4a46db)}
.btn.soft { color:#514ad8;background:#efefff;border:1px solid #e4e2ff; }.btn.soft:hover:not(:disabled){background:#e8e6ff}.btn.success{color:#117557;background:#eaf8f3;border:1px solid #d8f1e8}.btn.success:hover:not(:disabled){background:#e0f5ed}.btn.outline{color:#4e5870;background:#fff;border:1px solid var(--line-strong)}.btn.outline:hover:not(:disabled){border-color:#bfc7d7;background:#fafbfe}.btn.ghost{color:#788398;background:#f5f7fa}.btn.ghost:hover:not(:disabled){background:#eef1f5;color:#5e687c}
.search-options { margin-top: 16px; padding-top: 15px; border-top: 1px solid #eef0f5; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.switch-line { display:flex; align-items:center; gap:10px; cursor:pointer; }.switch-line input{position:absolute;opacity:0;pointer-events:none}.switch{width:40px;height:23px;border-radius:999px;background:#d9deea;position:relative;transition:.2s;flex:0 0 auto}.switch::after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 5px rgba(20,27,45,.18);transition:.2s}.switch-line input:checked + .switch{background:var(--brand)}.switch-line input:checked + .switch::after{transform:translateX(17px)}
.switch-copy strong{display:block;font-size:12px;color:#4b566d}.switch-copy small{display:block;font-size:11px;color:#9aa3b5;margin-top:2px}.privacy-note{display:flex;align-items:center;gap:7px;color:#8d97aa;font-size:11px;text-align:right}.privacy-note svg{width:15px;height:15px;color:#8994aa;flex:0 0 auto}

.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 17px 0; }
.stat-card { min-height: 104px; padding: 18px; display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(30,39,70,.045);position:relative;overflow:hidden}.stat-card::after{content:"";position:absolute;right:-25px;top:-25px;width:80px;height:80px;border-radius:50%;background:rgba(91,85,247,.035)}
.stat-icon { width: 42px; height: 42px; border-radius: 12px; display:grid;place-items:center;background:#f2f1ff;color:#615af1;flex:0 0 auto}.stat-icon svg{width:20px;height:20px}.stat-card:nth-child(2) .stat-icon{background:#edf9f5;color:#19a376}.stat-card:nth-child(3) .stat-icon{background:#edf9fb;color:#19aabc}.stat-card:nth-child(4) .stat-icon{background:#fff4eb;color:#d07c31}
.stat-card span { display:block;color:#7d879b;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.075em}.stat-card strong{display:inline-block;margin-top:2px;font-size:26px;line-height:1;color:#232b40}.stat-card small{display:block;margin-top:5px;color:#a1a9b9;font-size:10px}

.results-card { overflow: hidden; margin-top: 0; }
.results-head { padding: 20px 22px 16px; margin: 0; border-bottom: 1px solid #edf0f5; }
.export-actions { display:flex;gap:8px;align-items:center; }
.toolbar-panel { min-height: 66px; padding: 11px 16px; display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcfe;border-bottom:1px solid #edf0f5}.toolbar-left{display:flex;align-items:center;gap:8px;min-width:0}.filter-shell{width:min(360px,34vw);height:42px;padding:0 11px;background:#fff}.filter-shell input{height:100%;font-size:12px}.table-tip{display:flex;align-items:center;gap:7px;color:#929caf;font-size:10px;white-space:nowrap}.table-tip span{width:7px;height:7px;border-radius:50%;background:#e0b647}
.table-wrap { overflow: auto; max-height: 65vh; background:#fff; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1660px; font-size: 12px; }
th { position: sticky; top: 0; z-index: 2; padding: 12px 11px; background:#f7f8fb; color:#69748a; text-align:left; border-bottom:1px solid #e4e8ef; white-space:nowrap; text-transform:uppercase;letter-spacing:.05em;font-size:9px;font-weight:850;box-shadow:0 1px 0 rgba(225,229,237,.8)}
td { padding: 11px; border-bottom:1px solid #eff2f6; vertical-align:top; color:#4d586f; max-width:320px; line-height:1.45; background:#fff; transition:background .12s }
tbody tr:hover td{background:#fafbff}.select-col{width:42px;text-align:center}.select-col input,td:first-child input{width:15px;height:15px;accent-color:var(--brand);cursor:pointer}td:nth-child(2){color:#a1a9b8;width:42px}td:nth-child(3){min-width:220px}td:nth-child(3) strong{color:#293249;font-size:12px}.muted{color:#a0a9ba;font-size:10px;margin-top:3px}.tag{display:inline-block;padding:4px 7px;border-radius:999px;background:#f1f3f8;color:#677389;font-size:9px;text-transform:capitalize;white-space:nowrap}.enriched{color:#15956c;font-weight:800;font-size:9px;margin-top:4px}.cell-edit{min-width:145px;min-height:26px;padding:4px 7px;background:#fffdf5;border:1px dashed #e8d7a0;border-radius:7px;outline:0;color:#4e586e}.cell-edit:empty::before{content:"Click to add";color:#c6bca0}.cell-edit:focus{border-color:#d6b24b;box-shadow:0 0 0 3px rgba(214,178,75,.11);background:#fffef9}
td a { display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;background:#f1f3ff;color:#534dd8;font-weight:800;text-decoration:none;font-size:10px;white-space:nowrap }.td a:hover{background:#e9e8ff}.empty-row td{padding:56px!important;text-align:center}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#98a2b4}.empty-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#f1f2ff;color:#6a63ef;margin-bottom:12px}.empty-icon svg{width:22px;height:22px}.empty-state strong{color:#586278;font-size:13px;margin-bottom:4px}.empty-state span{font-size:11px}

.notice { margin-top: 14px; padding: 14px 16px; display:flex;gap:10px;align-items:flex-start;background:#f0f3f8;border:1px solid #e5e9f0;border-radius:13px;color:#778297;line-height:1.5}.notice-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#fff;color:#79859a;flex:0 0 auto}.notice-icon svg{width:15px;height:15px}.notice strong{display:block;color:#576276;font-size:11px;margin-bottom:2px}.notice span{display:block;font-size:10px}.footer{display:flex;justify-content:center;gap:7px;padding:26px 0 0;color:#a3acbb;font-size:10px}
.toast { position:fixed;right:22px;bottom:22px;z-index:50;max-width:430px;background:#11182b;color:#fff;padding:12px 15px;border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:0 18px 48px rgba(10,17,35,.26);opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s ease;font-size:12px;font-weight:700}.toast.show{opacity:1;transform:translateY(0)}
.loader { display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite;vertical-align:-2px;margin-right:2px}@keyframes spin{to{transform:rotate(360deg)}}

::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f5f6f9}::-webkit-scrollbar-thumb{background:#cfd5df;border:2px solid #f5f6f9;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#b8c0ce}

@media (max-width: 1180px){
  .hero{grid-template-columns:1fr .7fr;gap:30px}.hero-visual{transform:scale(.88);transform-origin:right center}.form-grid{grid-template-columns:1fr 1fr 150px}.search-action{grid-column:1/-1}.summary-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 820px){
  .site-header{height:auto;padding:14px 18px}.brand-subtitle{display:none}.api-badge{max-width:55vw;overflow:hidden;text-overflow:ellipsis}.page-shell{padding:0 14px 30px}.hero{margin:0 -14px;padding:46px 20px 90px;display:block;min-height:auto}.hero h1{font-size:40px}.hero-visual{display:none}.search-card{margin-top:-50px;padding:20px 16px}.section-heading{align-items:flex-start}.section-note{display:none}.form-grid{grid-template-columns:1fr}.search-action{grid-column:auto}.search-options{align-items:flex-start;flex-direction:column}.privacy-note{text-align:left}.summary-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{min-height:92px;padding:14px}.results-head{align-items:center}.toolbar-panel{align-items:stretch;flex-direction:column}.toolbar-left{flex-wrap:wrap}.filter-shell{width:100%}.table-tip{display:none}.export-actions .btn{min-width:72px}.notice{margin-bottom:0}
}
@media (max-width: 520px){
  .brand-name{font-size:13px}.brand-mark{width:36px;height:36px}.api-badge{font-size:10px;padding:8px 9px}.hero{padding-top:38px}.hero h1{font-size:34px}.hero p{font-size:14px}.hero-pills span:nth-child(2){display:none}.summary-grid{grid-template-columns:1fr 1fr}.stat-card{gap:10px}.stat-icon{width:36px;height:36px}.stat-card strong{font-size:22px}.results-head{padding:17px 14px}.results-head h2{font-size:19px}.export-actions{gap:5px}.export-actions .btn{padding:9px 10px;min-width:auto}.toolbar-panel{padding:10px}.toolbar-left .btn{flex:1}.empty-row td{padding:38px!important}
}
.phone-link{background:#eef9f5!important;color:#168562!important}
