/* Email data breach scan — mirrors the live Next.js page (bg #020E27, 966px column, glass input, #0F1931 band,
   overview screenshot with bottom fade, static stats, justified explainer blocks, comparison cards). */
.pg-eds { position: relative; overflow: hidden; background: #020e27; color: #fff; --eds-line: rgba(255, 255, 255, 0.1); margin-bottom: calc(-1 * clamp(40px, 6vw, 80px)); }
.pg-eds__container { width: min(100% - 32px, 966px); margin-inline: auto; }
.pg-eds__frame { position: absolute; top: -84px; left: 50%; transform: translateX(-50%); width: 1166px; height: 1084px; pointer-events: none; z-index: 1; }
.pg-eds__frame::before, .pg-eds__frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.12); }
.pg-eds__frame::before { left: 0; } .pg-eds__frame::after { right: 0; }

.pg-eds__hero { position: relative; overflow: hidden; padding-bottom: 96px; }
.pg-eds__rings { position: absolute; left: 20%; bottom: -45%; width: 900px; height: 900px; pointer-events: none; }
.pg-eds__rings::before, .pg-eds__rings::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); }
.pg-eds__rings::after { inset: 18%; border-color: rgba(255, 255, 255, 0.08); }
.pg-eds__rings--br { left: auto; right: -20%; bottom: -50%; width: 700px; height: 700px; }
.pg-eds__hero-grid { position: relative; z-index: 2; min-height: 540px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pg-eds__hero-text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.pg-eds__hero-text h1 { font-family: var(--font); font-weight: 600; font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.pg-eds__sub { font-size: 1.25rem; opacity: 0.7; margin: 0; }
.pg-eds__search {
  position: relative; display: flex; align-items: center; gap: 20px; height: 44px; width: 405px; max-width: 100%; padding-left: 16px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);
}
.pg-eds__search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 0.75rem; }
.pg-eds__search input::placeholder { color: rgba(255, 255, 255, 0.3); }
.pg-eds__search-btn { margin: 0 4px 0 auto; height: calc(100% - 8px); padding: 0 16px; border-radius: 5px; background: #fff; color: #000; font-size: 0.875rem; font-family: var(--font); outline: 4px solid rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.pg-eds__search-btn:hover { background: #e9edf5; }
.pg-eds__search-btn[disabled] { opacity: 0.7; cursor: progress; }
.pg-eds .form-error { margin: 0; min-height: 0; }
.pg-eds .form-error:empty { display: none; }
.pg-eds__mark { flex: none; opacity: 0.9; }
.pg-eds__mark img { width: 275px; height: auto; }

.pg-eds__scan { position: relative; z-index: 2; }
.pg-eds__scan-title { position: relative; padding: 12px 0; margin: 0; }
.pg-eds__rects { position: absolute; left: -16px; bottom: 8px; width: 96px; height: auto; pointer-events: none; }
.pg-eds__checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 12px 0; align-items: center; }
.pg-eds__check { display: flex; gap: 12px; align-items: center; }
.pg-eds__check p, .pg-eds__free p { margin: 0; font-size: 0.875rem; opacity: 0.7; }
.pg-eds__check-ico { width: 28px; height: 28px; border-radius: 50%; background: #1d2023; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.25); display: grid; place-items: center; color: #a1a1aa; flex: none; }
.pg-eds__check-ico .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.pg-eds__free { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--eds-line); border-radius: 8px; background: rgba(217, 217, 217, 0.1); }
.pg-eds__free-ico { width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #020e27; display: grid; place-items: center; flex: none; }
.pg-eds__free-ico .ico { width: 13px; height: 13px; }
.pg-eds .result { margin-top: 28px; }
.pg-eds .result .card, .pg-eds .result .tile, .pg-eds .email-result__badge { background: rgba(255, 255, 255, 0.02); border-color: var(--eds-line); border-radius: 10px; }

.pg-eds__band { position: relative; overflow: hidden; background: #0f1931; }
.pg-eds__band-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 64px 32px; }
.pg-eds__band-in p { margin: 0; font-size: 1.25rem; line-height: 1.5; }
.pg-eds__band-btn { flex: none; padding: 12px; border-radius: 8px; background: #fff; color: #000; font-size: 0.875rem; transition: background 0.2s, transform 0.2s; }
.pg-eds__band-btn:hover { background: #e9edf5; color: #000; transform: translateY(-1px); }
.pg-eds__band-bg { position: absolute; right: 0; bottom: 0; width: 600px; height: auto; z-index: 0; pointer-events: none; }

.pg-eds__shot { position: relative; display: flex; justify-content: center; padding: 32px 0; }
.pg-eds__shot img { width: 100%; max-width: 1000px; height: auto; border-radius: 8px; }
.pg-eds__shot-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #020d27); pointer-events: none; }
.pg-eds__numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-bottom: 48px; }
.pg-eds__numbers .dx-stat { display: grid; gap: 6px; text-align: center; }
.pg-eds__numbers .dx-stat__value { font-size: 1.5rem; line-height: 1.3; color: #fff; }
.pg-eds__numbers .dx-stat__label { font-size: 0.85rem; opacity: 0.7; }
.pg-eds__numbers .dx-stat__label i { display: block; font-style: normal; font-size: 0.72rem; opacity: 0.6; }
.pg-eds__num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; text-align: center; }
.pg-eds__num p { margin: 0; }
.pg-eds__num-v { font-size: 1.5rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.pg-eds__num-l { font-size: 0.875rem; opacity: 0.7; }

.pg-eds__explain { position: relative; }
.pg-eds__block { position: relative; display: flex; flex-direction: column; gap: 24px; margin: 48px 0; }
.pg-eds__block h2 { font-family: var(--font); font-weight: 600; font-size: 2.25rem; line-height: 1.2; margin: 0; }
.pg-eds__block p { position: relative; z-index: 2; margin: 0; font-weight: 300; opacity: 0.7; text-align: justify; line-height: 1.6; }
.pg-eds__cube { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 300px; height: auto; z-index: 1; pointer-events: none; }

.pg-eds__compare { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pg-eds__pill { display: inline-block; width: max-content; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.pg-eds__compare h2 { font-family: var(--font); font-weight: 400; font-size: 2.25rem; line-height: 1.2; margin: 0; }
.pg-eds__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.pg-eds__card { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: 12px; border: 1px solid var(--eds-line); background: rgba(29, 32, 35, 0.2); transition: border-color 0.3s, transform 0.3s; }
.pg-eds__card:hover { border-color: rgba(255, 255, 255, 0.25); transform: translateY(-4px); }
.pg-eds__card img { width: 100%; height: auto; border-radius: 8px; }
.pg-eds__card-text { margin: 0; font-weight: 300; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.pg-eds__card-name { margin: 0; }

.pg-eds__protect-wrap { position: relative; overflow: hidden; }
.pg-eds__protect { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 48px 24px; }
.pg-eds__protect img { width: 415px; max-width: 45%; height: auto; border-radius: 8px; flex: none; }
.pg-eds__protect > div { display: flex; flex-direction: column; gap: 12px; }
.pg-eds__protect-title { font-size: 2.25rem; line-height: 1.2; margin: 0; }
.pg-eds__protect-text { margin: 0; text-align: justify; line-height: 1.6; }
.pg-eds__protect-text a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1200px) { .pg-eds__frame { display: none; } }
@media (max-width: 900px) {
  .pg-eds__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-eds__numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-eds__num { flex: 1 1 40%; }
  .pg-eds__cube { width: 200px; opacity: 0.6; }
}
@media (max-width: 760px) {
  .pg-eds__hero-grid { flex-direction: column-reverse; align-items: flex-start; min-height: 0; padding-top: 10px; }
  .pg-eds__mark { position: absolute; right: -60px; top: -20px; opacity: 0.35; z-index: 0; }
  .pg-eds__hero-text { position: relative; z-index: 1; width: 100%; max-width: 100%; }
  .pg-eds__search { width: 100%; }
  .pg-eds__hero-text h1 { font-size: 1.9rem; }
  .pg-eds__sub { font-size: 1.1rem; }
  .pg-eds__scan-title { margin-top: 32px; }
  .pg-eds__rects { display: none; }
  .pg-eds__band-in { flex-direction: column; align-items: flex-start; padding: 48px 8px; }
  .pg-eds__numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
  .pg-eds__num { gap: 4px; }
  .pg-eds__block h2, .pg-eds__compare h2, .pg-eds__protect-title { font-size: 1.9rem; }
  .pg-eds__cube { display: none; }
  .pg-eds__cards { grid-template-columns: 1fr; }
  .pg-eds__protect { flex-direction: column; align-items: stretch; padding: 40px 0; }
  .pg-eds__protect img { max-width: 100%; width: 100%; }
}

/* ---------- Scanning stage (mirrors the live framer-motion sequence) ---------- */
.pg-eds [data-scan-stage] { transition: opacity 1s ease-in-out; }
.pg-eds [data-scan-stage].is-out { opacity: 0; }
.pg-eds [data-scan-stage][hidden] { display: none !important; }
.pg-eds__hero { min-height: 640px; }
.eds-dome { position: absolute; left: 20%; bottom: -45%; width: 571px; height: 582px; z-index: 1; pointer-events: none; opacity: 1; transition: bottom 1s ease-in-out, opacity 1s ease-in-out; }
.pg-eds__hero.is-scanning .eds-dome { bottom: 10%; }
.pg-eds__hero.is-done .eds-dome { opacity: 0; }
.eds-dome__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.eds-dome__core { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%, -50%); opacity: 0; transition: opacity 1s ease-in-out 1s; }
.pg-eds__hero.is-scanning .eds-dome__core, .eds-dome__core.is-on { opacity: 1; }
.eds-dome__glow { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(rgba(51, 117, 246, 0.2), rgba(51, 117, 246, 0.1)); filter: blur(20px); animation: edsGlow 1s ease-in-out infinite alternate; }
@keyframes edsGlow { from { width: 200px; height: 200px; } to { width: 100px; height: 100px; } }
.eds-dome__shield { position: absolute; left: 50%; top: 50%; width: 65px; height: auto; transform: translate(-50%, -50%); border-radius: 8px; }
.eds-scanning { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding-top: 10%; margin-bottom: 96px; min-height: 420px; }
.eds-scanning__mobile { display: none; }
.eds-scanning__panel { display: flex; flex-direction: column; gap: 24px; }
.eds-scanning__title { font-size: 1.875rem; margin: 0; }
.eds-steps { display: flex; flex-direction: column; gap: 16px; }
.eds-step { display: flex; flex-direction: column; gap: 8px; opacity: 0.7; transition: opacity 0.4s; }
.eds-step p { margin: 0 0 0 16px; font-size: 1.05rem; }
.eds-step__row { display: flex; align-items: center; gap: 12px; }
.eds-step__row p { margin: 0; }
.eds-step__ico { position: relative; width: 20px; height: 20px; flex: none; }
.eds-step__ico .eds-spin { position: absolute; inset: 0; animation: spin 1s linear infinite; }
.eds-step__ico .ico { position: absolute; inset: 2px; width: 16px; height: 16px; color: #22c55e; opacity: 0; transform: scale(0.5); transition: opacity 0.3s, transform 0.3s; }
.eds-step.is-done { opacity: 1; }
.eds-step.is-done .eds-spin { display: none; }
.eds-step.is-done .eds-step__ico .ico { opacity: 1; transform: scale(1); }
@media (max-width: 767px) {
  .eds-dome { display: none; }
  .eds-scanning { flex-direction: column; justify-content: flex-start; padding-top: 20%; }
  .eds-scanning__mobile { display: block; position: relative; min-height: 40vh; }
  .eds-scanning__mobile::before { content: ""; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 0 60px rgba(255, 255, 255, 0.02), inset 0 0 0 61px rgba(255, 255, 255, 0.12); }
  .eds-steps { flex-direction: row; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .eds-dome__glow, .eds-spin { animation: none; } }

/* ---------- Result stage ---------- */
.eds-result { position: relative; z-index: 2; padding: 90px 0 40px; }
.eds-result__stripes { position: absolute; top: 90px; left: 0; right: 0; height: 90px; background: repeating-linear-gradient(-60deg, rgba(120, 25, 60, 0.55) 0 14px, transparent 14px 34px); }
.eds-result.is-clean .eds-result__stripes { background: repeating-linear-gradient(-60deg, rgba(20, 110, 70, 0.5) 0 14px, transparent 14px 34px); }
.pg-eds .result[data-email-result] { margin-top: 140px; display: block; }
.eds-res__head { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin-bottom: 80px; }
.eds-res__flag { display: inline-block; color: #ff4d5e; font-size: 1.25rem; padding-bottom: 6px; margin-bottom: 26px; background: repeating-linear-gradient(-60deg, #e8384f 0 3px, transparent 3px 7px) left bottom / 100% 14px no-repeat; padding-bottom: 20px; }
.eds-res__flag--ok { color: #22c55e; background-image: repeating-linear-gradient(-60deg, #22c55e 0 3px, transparent 3px 7px); }
.eds-res__head h2 { font-family: var(--font); font-weight: 700; font-size: 2rem; margin: 0 0 16px; }
.eds-res__head p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 24px; max-width: 70ch; }
.eds-res__reset { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 1.05rem; font-family: var(--font); transition: background 0.2s; }
.eds-res__reset:hover { background: rgba(255, 255, 255, 0.1); }
.eds-res__summary h3 { font-family: var(--font); font-weight: 400; font-size: 2.2rem; margin: 0 0 22px; }
.eds-res__summary small { display: block; color: rgba(255, 255, 255, 0.45); font-size: 1.05rem; margin: 18px 0 10px; text-transform: uppercase; letter-spacing: 0.01em; }
.eds-res__summary small + small { text-transform: none; }
.eds-res__summary p { margin: 0 0 8px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.75); }
.eds-res__summary p b { color: #fff; font-weight: 700; margin-right: 12px; }
.eds-tabs { display: flex; gap: 32px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.eds-tabs button { padding: 0 0 12px; font-family: var(--font); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.4); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.eds-tabs button span { text-transform: none; font-weight: 300; margin-left: 8px; }
.eds-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #2f6fed; }
.eds-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 1.05rem; }
.eds-table th { text-align: left; font-weight: 400; color: rgba(255, 255, 255, 0.8); padding: 6px 12px; }
.eds-table th.is-bold { font-weight: 700; }
.eds-table td { padding: 14px 12px; color: rgba(255, 255, 255, 0.9); }
.eds-table tr:nth-child(odd) td { background: rgba(255, 255, 255, 0.04); }
.eds-table tr td:first-child { border-radius: 8px 0 0 8px; }
.eds-table tr td:last-child { border-radius: 0 8px 8px 0; }
.eds-table__name { display: flex; align-items: center; gap: 12px; }
.eds-table__name img { width: 36px; height: 36px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); object-fit: contain; }
.eds-sev { display: inline-flex; align-items: center; gap: 14px; }
.eds-sev__bars { display: inline-flex; gap: 8px; }
.eds-sev__bars i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.eds-sev--high i { background: #e04b5a; } .eds-sev--medium i:nth-child(-n + 2) { background: #d9a531; } .eds-sev--low i:first-child { background: #22c55e; }
.eds-sev--medium i:last-child, .eds-sev--low i:not(:first-child) { background: rgba(255, 255, 255, 0.18); }
.eds-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 24px 0 70px; }
.eds-pager button { min-width: 44px; height: 44px; border-radius: 8px; color: #fff; font-size: 1.05rem; display: grid; place-items: center; }
.eds-pager button[aria-current="page"] { background: #fff; color: #051030; }
.eds-pager button[disabled] { opacity: 0.35; cursor: default; }
.eds-pager span { color: rgba(255, 255, 255, 0.7); }
.eds-table-wrap { overflow-x: auto; }
.eds-empty { padding: 26px 0 60px; color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; }
.eds-domain { margin-bottom: 30px; font-size: 1.2rem; }
.eds-domain p { margin: 0 0 12px; }
.eds-domain mark { background: #e6e6ee; color: #0a1030; padding: 2px 6px; border-radius: 3px; font-weight: 700; }
.eds-domain a { color: #5b8cff; text-decoration: underline; font-weight: 700; }
.eds-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 60px; }
.eds-card { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 60px 24px 36px; min-height: 330px; background: rgba(255, 255, 255, 0.02); }
.eds-card::before { content: ""; position: absolute; left: 6%; top: 8%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(160, 40, 110, 0.55), rgba(160, 40, 110, 0.12) 45%, transparent 70%); filter: blur(10px); }
.eds-card > * { position: relative; }
.eds-card__v { display: block; font-size: 2.6rem; margin-bottom: 56px; color: #fff; }
.eds-card h4 { font-family: var(--font); font-weight: 400; font-size: 1.6rem; margin: 0 0 14px; }
.eds-card p { margin: 0; font-size: 1.02rem; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) { .eds-res__head { grid-template-columns: 1fr; } .eds-cards { grid-template-columns: 1fr; } .eds-tabs button { font-size: 1.05rem; } .eds-result__stripes { height: 60px; } .pg-eds .result[data-email-result] { margin-top: 100px; } }

.eds-table__ph { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); flex: none; }
.eds-table__ph .ico { width: 18px; height: 18px; }
