
/* ═══════════ pulse.css — GYMS-Pulse ═══════════ */
:root{ --pulse-line:#EC4899; }

#gc-overlay{
  display: none;
}

/* breadcrumb */
.pulse-breadcrumb{ display:flex; gap:8px; align-items:center; list-style:none; max-width:1180px; margin:0 auto; padding:80px 5vw 0; font-size:13px; color:var(--muted); flex-wrap:wrap; }
.pulse-breadcrumb a{ color:#A78BFA; text-decoration:none; }
.pulse-breadcrumb a:hover{ color:var(--text); }
.pulse-breadcrumb .sep{ color:var(--border); }

/* ── HERO ── */
.pulse-hero{ position:relative; overflow:hidden; min-height:96vh; display:flex; align-items:center; padding:70px 5vw; }
.pulse-hero::before{ content:''; position:absolute; width:820px; height:820px; top:-320px; left:58%; border-radius:50%; background:radial-gradient(circle,rgba(108,62,244,.16),transparent 68%); pointer-events:none; animation:st-blob-a 16s ease-in-out infinite; }
.pulse-hero::after{ content:''; position:absolute; width:600px; height:600px; bottom:-280px; left:-6%; border-radius:50%; background:radial-gradient(circle,rgba(236,72,153,.10),transparent 68%); pointer-events:none; animation:st-blob-b 20s ease-in-out infinite; }
.hero-ecg{ position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); height:230px; z-index:0; opacity:.5; pointer-events:none; -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent); mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent); }
.hero-ecg svg{ width:200%; height:100%; display:block; }
.ecg-move{ animation:ecg-scroll 7s linear infinite; }
@keyframes ecg-scroll{ to{ transform:translateX(-50%); } }
.pulse-hero-inner{ position:relative; z-index:2; width:100%; max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.ph-badge{ display:inline-flex; align-items:center; gap:8px; padding:7px 18px; border-radius:24px; font-size:13px; font-weight:700; border:1px solid rgba(168,85,247,.4); background:rgba(168,85,247,.1); color:#C084FC; margin-bottom:24px; }
.ph-badge .bd{ width:6px; height:6px; border-radius:50%; background:#A855F7; animation:pulse 1.8s infinite; }
.pulse-hero h1{ font-size:clamp(36px,5.6vw,68px); font-weight:900; line-height:1.05; letter-spacing:-2px; margin-bottom:22px; }
.pulse-hero .hero-sub{ margin:0 0 32px; max-width:470px; }
.ph-cta{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-bottom:22px; }
.ph-trust{ display:flex; flex-wrap:wrap; gap:14px 22px; font-size:13px; color:var(--muted); }
.ph-trust span{ display:inline-flex; align-items:center; gap:7px; }
.ph-trust .dot-g{ width:8px; height:8px; border-radius:50%; background:#4ADE80; box-shadow:0 0 10px #4ADE80; }

/* phone mockup */
.ph-phone-wrap{ display:flex; justify-content:center; }
.ph-phone{ width:288px; border-radius:44px; background:#111118; border:2px solid rgba(168,85,247,.35); box-shadow:0 0 0 8px rgba(255,255,255,.02),0 40px 90px rgba(0,0,0,.6),0 0 80px rgba(108,62,244,.14); overflow:hidden; position:relative; transform:perspective(1200px) rotateY(-10deg) rotateX(3deg); transition:transform .5s cubic-bezier(.16,1,.3,1); }
.ph-phone:hover{ transform:perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.ph-notch{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:104px; height:26px; background:#000; border-radius:0 0 18px 18px; z-index:5; }
.ph-statusbar{ display:flex; justify-content:space-between; padding:34px 22px 8px; font-size:11px; color:#F1F0FF; font-family:var(--mono,monospace); }
.ph-screen{ margin:0 8px 8px; border-radius:28px; background:#0A0A0F; overflow:hidden; height:540px; position:relative; }
.phs-head{ display:flex; align-items:center; justify-content:space-between; padding:15px 18px; border-bottom:1px solid rgba(168,85,247,.15); }
.phs-logo{ display:flex; align-items:center; gap:8px; font-weight:800; font-size:14px; }
.phs-logo .lg{ width:22px; height:22px; border-radius:7px; background:linear-gradient(135deg,#6C3EF4,#EC4899); display:flex; align-items:center; justify-content:center; }
.phs-logo .lg svg{ width:15px; height:15px; }
.phs-badge{ font-size:9px; font-weight:800; letter-spacing:.5px; padding:3px 9px; border-radius:20px; background:rgba(74,222,128,.15); color:#4ADE80; }
.phs-greet{ padding:16px 18px 4px; }
.phs-greet .l{ font-size:10px; text-transform:uppercase; letter-spacing:1.5px; color:var(--muted); }
.phs-greet .v{ font-size:19px; font-weight:800; margin-top:2px; }
.phs-card{ margin:10px 18px 14px; padding:16px; border-radius:16px; border:1px solid rgba(168,85,247,.25); border-left:3px solid #EC4899; background:linear-gradient(135deg,rgba(108,62,244,.12),rgba(236,72,153,.06)); }
.phs-card .l{ font-size:9px; text-transform:uppercase; letter-spacing:1.2px; color:var(--muted); margin-bottom:6px; }
.phs-card .big{ font-size:34px; font-weight:900; line-height:1; letter-spacing:-1px; }
.phs-card .big small{ font-size:13px; color:var(--muted); font-weight:600; }
.phs-card .row{ display:flex; gap:14px; margin-top:9px; font-size:11px; color:var(--muted); }
.phs-card .row .g{ color:#4ADE80; margin-left:auto; font-weight:700; }
.phs-btn{ margin:0 18px 14px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; gap:8px; font-weight:800; font-size:14px; color:#fff; background:linear-gradient(135deg,#6C3EF4,#EC4899); }
.phs-btn svg{ width:16px; height:16px; }
.phs-list{ padding:0 18px; }
.phs-list .l{ font-size:9px; text-transform:uppercase; letter-spacing:1.2px; color:var(--muted); margin-bottom:8px; }
.phs-row{ display:flex; align-items:center; gap:10px; padding:9px 12px; margin-bottom:7px; border-radius:10px; background:rgba(255,255,255,.03); border-left:3px solid #4ADE80; }
.phs-row.warn{ border-color:#F97316; }
.phs-row .bp{ font-size:14px; font-weight:800; }
.phs-row .t{ font-size:10px; color:var(--muted); }
.phs-row .tag{ margin-left:auto; font-size:9px; padding:2px 7px; border-radius:5px; background:rgba(74,222,128,.15); color:#4ADE80; }
.phs-row.warn .tag{ background:rgba(249,115,22,.15); color:#FB923C; }
.phs-nav{ position:absolute; bottom:0; left:0; right:0; display:flex; justify-content:space-around; padding:10px 0 14px; background:#111118; border-top:1px solid rgba(168,85,247,.15); }
.phs-nav .i{ display:flex; flex-direction:column; align-items:center; gap:4px; font-size:8px; color:#555; }
.phs-nav .i.on{ color:#A78BFA; }
.phs-nav .i svg{ width:17px; height:17px; }

/* ── mission ── */
.mission{ background:linear-gradient(135deg,rgba(236,72,153,.08),rgba(108,62,244,.08)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.mission-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; max-width:1100px; margin:32px auto 0; }
@media(max-width:820px){ .mission-grid{ grid-template-columns:1fr; gap:28px; } }
.mission-grid p{ font-size:16.5px; color:var(--muted); line-height:1.85; margin-bottom:18px; }
.mission-grid p strong{ color:var(--text); }
.mission-stats{ display:flex; flex-direction:column; gap:14px; }
.ms-stat{ background:var(--card); border:1px solid var(--border); border-radius:16px; padding:22px 24px; }
.ms-stat .n{ font-size:38px; font-weight:900; letter-spacing:-1px; line-height:1; background:linear-gradient(135deg,#A78BFA,#EC4899); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.ms-stat .l{ font-size:13.5px; color:var(--muted); margin-top:6px; line-height:1.5; }

/* ── privacy ── */
.privacy-box{ max-width:960px; margin:0 auto; background:linear-gradient(135deg,rgba(74,222,128,.07),rgba(108,62,244,.07)); border:1px solid rgba(74,222,128,.3); border-radius:22px; padding:40px; }
.privacy-head{ display:flex; align-items:center; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.privacy-head .ic{ width:56px; height:56px; border-radius:16px; background:rgba(74,222,128,.12); border:1px solid rgba(74,222,128,.3); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.privacy-head .ic svg{ width:30px; height:30px; }
.privacy-head h3{ font-size:clamp(21px,3vw,29px); font-weight:900; letter-spacing:-.5px; }
.privacy-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-bottom:24px; }
@media(max-width:640px){ .privacy-grid{ grid-template-columns:1fr; } }
.pv-item{ display:flex; gap:12px; align-items:flex-start; padding:16px 18px; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.pv-item .c{ color:#4ADE80; font-size:16px; flex-shrink:0; margin-top:1px; }
.pv-item div strong{ display:block; font-size:14.5px; margin-bottom:3px; }
.pv-item div span{ font-size:13px; color:var(--muted); line-height:1.5; }
.gitlab-cta{ display:flex; align-items:center; gap:14px; padding:18px 22px; border-radius:14px; background:rgba(0,0,0,.3); border:1px solid rgba(168,85,247,.25); text-decoration:none; color:var(--text); transition:border-color .2s, transform .2s; }
.gitlab-cta:hover{ border-color:#EC4899; transform:translateY(-2px); }
.gitlab-cta .gl{ width:44px; height:44px; border-radius:12px; background:#18181F; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.gitlab-cta .gl svg{ width:26px; height:26px; }
.gitlab-cta .tx strong{ display:block; font-size:15px; }
.gitlab-cta .tx span{ font-size:12.5px; color:var(--muted); }
.gitlab-cta .arr{ margin-left:auto; color:#A78BFA; font-size:20px; }

/* ── metrics ── */
.metrics-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }
.metric-card{ background:var(--card); border:1px solid var(--border); border-radius:18px; padding:26px 22px; transition:transform .3s cubic-bezier(.22,1,.36,1), border-color .3s; }
.metric-card:hover{ transform:translateY(-5px); border-color:rgba(168,85,247,.5); }
.metric-card .mi{ width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; background:rgba(108,62,244,.12); }
.metric-card .mi svg{ width:28px; height:28px; }
.metric-card h3{ font-size:17px; font-weight:800; margin-bottom:7px; }
.metric-card p{ font-size:13.5px; color:var(--muted); line-height:1.6; }

/* ── measure flow ── */
.measure-flow{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; max-width:1050px; margin:0 auto; }
.mf-step{ position:relative; background:var(--bg2); border:1px solid var(--border); border-radius:16px; padding:26px 18px; text-align:center; transition:transform .3s, border-color .3s; }
.mf-step:hover{ transform:translateY(-4px); border-color:rgba(168,85,247,.4); }
.mf-num{ width:44px; height:44px; margin:0 auto 14px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:18px; color:#fff; background:linear-gradient(135deg,#6C3EF4,#EC4899); }
.mf-step h3{ font-size:15px; font-weight:800; margin-bottom:6px; }
.mf-step p{ font-size:12.5px; color:var(--muted); line-height:1.55; }
.mf-time{ display:inline-block; margin-top:10px; font-size:11px; font-weight:700; padding:3px 10px; border-radius:20px; background:rgba(108,62,244,.15); color:#A78BFA; }

/* ── SEO article + norm table ── */
.pulse-article{ max-width:820px; margin:0 auto; }
.pulse-article h2{ font-size:clamp(24px,3.4vw,34px); font-weight:800; letter-spacing:-.5px; margin:44px 0 14px; }
.pulse-article h2:first-child{ margin-top:0; }
.pulse-article h3{ font-size:19px; font-weight:700; margin:26px 0 10px; color:#E8E6FF; }
.pulse-article p{ font-size:16px; color:var(--muted); line-height:1.85; margin-bottom:16px; }
.pulse-article p strong{ color:var(--text); }
.pulse-article ul{ margin:0 0 18px 0; padding-left:20px; display:flex; flex-direction:column; gap:9px; }
.pulse-article li{ font-size:15.5px; color:var(--muted); line-height:1.7; }
.pulse-article li strong{ color:var(--text); }
.pulse-article .formula{ display:inline-block; font-family:var(--mono,monospace); font-size:14px; color:#F1F0FF; background:var(--bg3); border:1px solid var(--border); padding:8px 14px; border-radius:10px; margin:6px 0 14px; }
.highlight-box{ background:linear-gradient(135deg,rgba(108,62,244,.1),rgba(236,72,153,.06)); border:1px solid rgba(168,85,247,.3); border-left:3px solid #A855F7; border-radius:14px; padding:18px 22px; margin:22px 0; font-size:15px; color:var(--text); line-height:1.7; }
.bp-table{ width:100%; border-collapse:collapse; font-size:14.5px; margin:16px 0 8px; overflow:hidden; border-radius:14px; }
.bp-table th{ text-align:left; padding:12px 14px; background:var(--bg2); color:#A78BFA; font-weight:700; border-bottom:1px solid rgba(168,85,247,.25); }
.bp-table th:not(:first-child){ text-align:center; }
.bp-table td{ padding:12px 14px; border-bottom:1px solid rgba(255,255,255,.05); color:var(--muted); }
.bp-table td:not(:first-child){ text-align:center; font-family:var(--mono,monospace); }
.bp-table tr td:first-child{ color:var(--text); font-weight:600; border-left:3px solid transparent; }
.bp-table tr.opt td:first-child{ border-color:#4ADE80; }
.bp-table tr.norm td:first-child{ border-color:#38BDF8; }
.bp-table tr.high td:first-child{ border-color:#FBBF24; }
.bp-table tr.h1 td:first-child{ border-color:#FB923C; }
.bp-table tr.h2 td:first-child,.bp-table tr.h3 td:first-child{ border-color:#EF4444; }
.bp-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius:14px; }
.table-note{ font-size:12.5px; color:#666; margin-top:10px; }

/* ── install ── */
.pi-toggle{ display:flex; margin:0 auto 44px; background:var(--bg3); border:1px solid var(--border); border-radius:13px; padding:6px; width:fit-content; }
.pi-btn{ font-size:15px; font-weight:700; background:none; border:none; color:var(--muted); padding:10px 26px; border-radius:9px; cursor:pointer; display:flex; align-items:center; gap:8px; transition:.25s; }
.pi-btn.on{ background:linear-gradient(135deg,#6C3EF4,#EC4899); color:#fff; }
.pi-steps{ display:none; grid-template-columns:repeat(4,1fr); gap:20px; }
.pi-steps.on{ display:grid; }
@media(max-width:820px){ .pi-steps.on{ grid-template-columns:1fr 1fr; } }
@media(max-width:520px){ .pi-steps.on{ grid-template-columns:1fr; } }
.pi-step{ background:var(--bg2); border:1px solid var(--border); border-radius:18px; padding:26px 22px; }
.pi-step .pn{ width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,#6C3EF4,#EC4899); color:#fff; font-weight:900; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.pi-step strong{ display:block; font-size:16px; margin-bottom:6px; }
.pi-step p{ font-size:13px; color:var(--muted); line-height:1.55; }

/* ── final ── */
.pulse-final{ text-align:center; padding:100px 5vw; position:relative; overflow:hidden; background:linear-gradient(180deg,transparent,rgba(108,62,244,.08)); }
.pulse-final::before{ content:''; position:absolute; bottom:-300px; left:50%; transform:translateX(-50%); width:900px; height:600px; border-radius:50%; background:radial-gradient(ellipse,rgba(108,62,244,.1),transparent 65%); filter:blur(50px); pointer-events:none; }
.pulse-final h2{ font-size:clamp(30px,5vw,54px); font-weight:900; letter-spacing:-1.5px; margin-bottom:18px; position:relative; }
.pulse-final p{ color:var(--muted); font-size:17px; max-width:560px; margin:0 auto 40px; position:relative; }
.pf-btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative; }

.pulse-disclaimer{ max-width:820px; margin:0 auto; padding:0 5vw 70px; }
.pulse-disclaimer .dz{ font-size:13px; color:#666; line-height:1.7; text-align:center; border-top:1px solid var(--border); padding-top:26px; }

@keyframes trustPulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(max-width:480px){.trust-card{padding:32px 20px 28px;border-radius:22px}.trust-label{font-size:15px}}
@media (prefers-reduced-motion:reduce){ .ecg-move{ animation:none; } }
@media(max-width:960px){
  .pulse-hero-inner{ grid-template-columns:1fr; gap:44px; text-align:center; }
  .pulse-hero .hero-sub{ max-width:100%; }
  .ph-cta,.ph-trust{ justify-content:center; }
  .ph-badge{ margin-inline:auto; }
  .ph-phone{ transform:none; } .ph-phone:hover{ transform:none; }
}

/* ═══════════ НАМ ДОВІРЯЮТЬ ═══════════ */
.trust-band{padding:20px 16px}

.trust-card{position:relative;max-width:620px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  background:linear-gradient(135deg,rgba(108,62,244,.14),rgba(236,72,153,.08));
  border:1px solid rgba(168,85,247,.35);border-radius:28px;
  padding:40px 28px 34px;overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(108,62,244,.5)}

/* декоративне світіння — поза потоком, не впливає на порядок */
.trust-glow{position:absolute;top:-30%;left:50%;transform:translateX(-50%);
  width:420px;height:420px;border-radius:50%;pointer-events:none;z-index:0;
  background:radial-gradient(circle,rgba(236,72,153,.22),transparent 66%);
  filter:blur(30px)}

/* увесь реальний контент — над світінням і по центру */
.trust-card > *:not(.trust-glow){position:relative;z-index:1}

.trust-badge{display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;
  color:#A78BFA;background:rgba(10,10,15,.4);
  border:1px solid rgba(168,85,247,.3);padding:7px 15px;border-radius:20px;
  margin:0 0 18px}

.trust-badge .dot-g{width:7px;height:7px;border-radius:50%;background:#4ADE80;
  box-shadow:0 0 9px #4ADE80;animation:trustPulse 1.8s infinite}

.trust-num{font-family:'JetBrains Mono',monospace;font-weight:800;
  font-size:clamp(56px,13vw,88px);line-height:1;letter-spacing:-2px;
  display:flex;align-items:baseline;justify-content:center;
  background:linear-gradient(135deg,#A78BFA,#EC4899);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

.trust-plus{-webkit-text-fill-color:#EC4899;font-size:.6em;margin-left:2px}

.trust-label{font-size:16px;color:#F1F0FF;font-weight:600;line-height:1.5;
  max-width:420px;margin:14px auto 0}

.trust-sub{display:inline-flex;align-items:center;gap:8px;
  font-size:13px;color:#9B9AAA;margin-top:18px}

.trust-sub .dot-g{width:6px;height:6px;border-radius:50%;background:#4ADE80;
  box-shadow:0 0 8px #4ADE80}

@keyframes trustPulse{0%,100%{opacity:1}50%{opacity:.35}}

@media(max-width:480px){
  .trust-card{padding:32px 20px 28px;border-radius:22px}
  .trust-label{font-size:15px}
}
