@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

.hero-art { position: relative; overflow: hidden; --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
/* ============================================================
   VRX — Переработка вашего hero
   Та же ДНК (кремовый, индиго, редактор справа), но звучит
   ============================================================ */

.vrx {
    background: var(--bg);
    padding: 28px 56px 36px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.vrx::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(48% 70% at 100% 30%, var(--lavender-soft), transparent 60%),
        radial-gradient(40% 55% at 0% 100%, #f4e6c5, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.vrx::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(61,58,142,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61,58,142,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.vrx > * { position: relative; z-index: 1; }

/* HEADER */
.vrx-hdr {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--border);
}
.vrx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.vrx-brand-mark {
    width: 34px; height: 34px;
    background: var(--brand);
    color: #fff;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.vrx-brand-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.vrx-brand-name small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    margin-top: 1px;
}
.vrx-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.vrx-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
}
.vrx-nav a:hover { color: var(--text); background: var(--bg-soft); }
.vrx-hdr-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.vrx-hdr-phone {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}
.vrx-hdr-btn {
    background: var(--brand);
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px -8px color-mix(in oklab, var(--brand) 65%, transparent);
}

/* GRID */
.vrx-grid {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

/* LEFT — copy */
.vrx-copy { max-width: 600px; }
.vrx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: var(--shadow-1);
}
.vrx-eyebrow .vrx-eb-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-bg);
    animation: vrx-pulse 1.8s ease-in-out infinite;
}
@keyframes vrx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.vrx-eyebrow .vrx-eb-sep {
    width: 1px; height: 11px; background: var(--border-strong);
}

.vrx-h1 {
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    text-wrap: balance;
}
.vrx-h1 .em {
    font-style: normal;
    color: var(--brand);
}
.vrx-h1 .hl {
    background: linear-gradient(180deg, transparent 60%, var(--amber-bg) 60%, var(--amber-bg) 95%, transparent 95%);
    padding: 0 6px;
    margin: 0 -2px;
    color: var(--text);
}

.vrx-lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 14px;
    max-width: 520px;
    text-wrap: pretty;
}
.vrx-lede .kw {
    display: inline-block;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.86em;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    white-space: nowrap;
    transform: translateY(-1px);
}

/* Trust strip — pulled UP, sits between lede and CTAs */
.vrx-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 4px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.vrx-trust-ava {
    display: inline-flex;
}
.vrx-trust-ava span {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11.5px;
    font-weight: 700;
    border: 2px solid var(--bg);
    margin-left: -9px;
    line-height: 1;
}
.vrx-trust-ava span:first-child { margin-left: 0; }
.vrx-trust-ava span:nth-child(1) { background: var(--lavender); color: var(--lavender-ink); }
.vrx-trust-ava span:nth-child(2) { background: var(--coral-bg); color: var(--coral-ink); }
.vrx-trust-ava span:nth-child(3) { background: var(--green-bg); color: var(--green-ink); }
.vrx-trust-ava span:nth-child(4) { background: var(--amber-bg); color: var(--amber-ink); }
.vrx-trust-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}
.vrx-trust-stat b {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.vrx-trust-stat .star { color: var(--amber); font-size: 14px; }
.vrx-trust-sep { width: 1px; height: 22px; background: var(--border-strong); opacity: 0.7; }

.vrx-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.vrx-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    padding: 15px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 14px 28px -10px color-mix(in oklab, var(--brand) 60%, transparent);
}
.vrx-cta-primary::after { content: '→'; transition: transform 0.15s; }
.vrx-cta-primary:hover::after { transform: translateX(3px); }
.vrx-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 15px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.vrx-cta-micro {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vrx-cta-micro::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
}

/* RIGHT — editor + connected callouts */
.vrx-visual {
    position: relative;
    perspective: 1800px;
}
.vrx-ed {
    background: #1d1b2c;
    border-radius: 14px;
    box-shadow:
        0 36px 70px -22px rgba(40, 30, 90, 0.42),
        0 0 0 1px rgba(255,255,255,0.04) inset;
    overflow: hidden;
    transform: rotateY(-3deg) rotateX(1.5deg);
}
.vrx-ed-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #14131f;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vrx-ed-dots { display: flex; gap: 6px; }
.vrx-ed-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.vrx-ed-dots span:nth-child(1) { background: #ff5f57; }
.vrx-ed-dots span:nth-child(2) { background: #febc2e; }
.vrx-ed-dots span:nth-child(3) { background: #28c840; }
.vrx-ed-tab {
    margin-left: 10px;
    padding: 4px 11px;
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: rgba(255,255,255,0.78);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.vrx-ed-tab::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #facc15;
}
.vrx-ed-lang {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}
.vrx-ed-body {
    padding: 20px 18px 22px;
    font-family: var(--mono);
    font-size: 13.5px;
    line-height: 1.7;
    color: #d4d2e8;
    counter-reset: vrxline;
}
.vrx-ed-body .ln {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
}
.vrx-ed-body .ln::before {
    counter-increment: vrxline;
    content: counter(vrxline);
    color: rgba(255,255,255,0.18);
    text-align: right;
    font-size: 11.5px;
    user-select: none;
    padding-top: 1px;
}
.vrx-ed-body .tk-key { color: #c084fc; }
.vrx-ed-body .tk-def { color: #82aaff; }
.vrx-ed-body .tk-fn  { color: #f1c40f; }
.vrx-ed-body .tk-arg { color: #ff9eb6; }
.vrx-ed-body .tk-str { color: #a3e4a0; }
.vrx-ed-body .tk-num { color: #ffb86c; }
.vrx-ed-body .tk-com { color: rgba(255,255,255,0.34); font-style: italic; }
.vrx-ed-body .hl-ln {
    background: linear-gradient(90deg, rgba(91, 224, 91, 0.10), transparent 60%);
    border-left: 2px solid #5be05b;
    margin-left: -18px;
    padding-left: 16px;
}
.vrx-ed-cursor {
    display: inline-block;
    width: 7px; height: 14px;
    background: #fff;
    vertical-align: -2px;
    margin-left: 2px;
    animation: vrx-blink 1s steps(2) infinite;
}
@keyframes vrx-blink { 50% { opacity: 0; } }

/* Connected callouts — float around editor, tethered with a thin SVG line */
.vrx-callout {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 13px 10px 11px;
    box-shadow: var(--shadow-3);
    display: flex;
    align-items: center;
    gap: 11px;
    z-index: 3;
    min-width: 168px;
}
.vrx-callout .ic {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.vrx-callout .ic svg { width: 16px; height: 16px; }
.vrx-callout .meta { line-height: 1.15; }
.vrx-callout .lbl {
    font-size: 10.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 2px;
}
.vrx-callout .val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}
.vrx-callout .who {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--text-dim);
    margin-top: 1px;
}
.vrx-callout.c1 { top: -16px; right: -14px; transform: rotate(2deg); animation: vrx-f1 7s ease-in-out infinite; }
.vrx-callout.c2 { bottom: 70px; left: -42px; transform: rotate(-2deg); animation: vrx-f2 8s ease-in-out infinite; }
.vrx-callout.c3 { bottom: -18px; right: 50px; transform: rotate(1deg); animation: vrx-f1 9s ease-in-out infinite reverse; }
@keyframes vrx-f1 { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes vrx-f2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(-2deg); } }

/* Dashed tethers connecting callouts to the code lines */
.vrx-tether {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.vrx-tether path {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.4;
    stroke-dasharray: 3 4;
    opacity: 0.45;
}
.vrx-tether circle {
    fill: var(--brand);
    opacity: 0.7;
}


/* ============================================================
   FULL-PAGE OVERRIDES — when vrx hero sits on a normal flowing page
   ============================================================ */
.hero-art.vrx-page {
    width: 100%;
    height: auto;
    min-height: 760px;
    padding: 24px 56px 56px;
}
.hero-art.vrx-page .vrx-grid {
    padding: 48px 0 0;
}
.hero-art.vrx-page .vrx-visual {
    min-height: 480px;
}

/* ============================================================
   STATS — more editorial, less SaaS-row
   ============================================================ */
.stats {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}
.stats-grid {
    gap: 0;
    column-gap: 48px;
}
.stat-item {
    padding: 0;
}
.stat-item + .stat-item::before {
    height: 56px;
    left: -24px;
    background: var(--border);
}
.stat-val {
    font-size: 56px;
    letter-spacing: -0.035em;
    margin-bottom: 14px;
}
.stat-val em {
    font-size: 18px;
    color: var(--text-dim);
    font-family: var(--mono);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    margin-left: 8px;
}
.stat-lbl strong {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}
.stat-lbl {
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================================================
   WHY US — replace generic icons with numbered cards
   Same colors, but the heavy lift is numbers + type, not SVG slop
   ============================================================ */
.why-card {
    padding: 32px 26px 28px;
    position: relative;
}
.why-card .why-ico {
    position: relative;
    width: auto; height: auto;
    background: transparent !important;
    margin-bottom: 22px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.why-card .why-ico svg { display: none; }
.why-card .why-ico::before {
    content: counter(whycount, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.why-card .why-ico::after {
    content: '— причина';
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-dim);
    align-self: end;
    padding-bottom: 3px;
}
.why-grid { counter-reset: whycount; }
.why-card { counter-increment: whycount; }

.why-card.c-coral .why-ico::before { color: var(--coral-ink); }
.why-card.c-lav .why-ico::before { color: var(--lavender-ink); }
.why-card.c-green .why-ico::before { color: var(--green-ink); }
.why-card.c-amber .why-ico::before { color: var(--amber-ink); }

/* small color stripe on left edge instead */
.why-card::before {
    content: '';
    position: absolute;
    top: 28px; left: 0;
    width: 3px; height: 36px;
    border-radius: 0 3px 3px 0;
}
.why-card.c-coral::before { background: var(--coral); }
.why-card.c-lav::before { background: var(--lavender-ink); opacity: 0.7; }
.why-card.c-green::before { background: var(--green); }
.why-card.c-amber::before { background: var(--amber); }

.why-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}
.why-card p {
    font-size: 14.5px;
    line-height: 1.55;
}

/* ============================================================
   SECTION HEADS — slightly more confident
   ============================================================ */
.s-head { margin-bottom: 64px; }
.s-head .eyebrow {
    color: var(--brand);
    font-weight: 700;
}
.s-head h2 {
    font-size: clamp(32px, 3.4vw, 48px);
    letter-spacing: -0.028em;
}

/* ============================================================
   LOGOS STRIP — calmer, less utility-row
   ============================================================ */
.logos-strip {
    padding: 36px 0;
    background: var(--bg);
}
.logos-strip .label {
    color: var(--text);
    font-weight: 700;
}
.logos-row span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    opacity: 0.4;
    transition: opacity 0.2s, color 0.2s;
}
.logos-row span:hover { opacity: 1; color: var(--brand); }

/* ============================================================
   RESULTS — make the top-3 universities feel like a podium
   ============================================================ */
.results-wrap {
    padding: 56px 56px 48px;
    background:
        radial-gradient(60% 90% at 100% 0%, var(--lavender-soft), transparent 60%),
        linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card) 100%);
}
.results-block h4 .num {
    background: var(--brand);
    color: #fff;
    padding: 3px 9px;
    font-family: var(--mono);
    font-weight: 700;
}
.tag-chip {
    background: var(--bg);
    border-color: var(--border-strong);
    transition: all 0.15s;
}
.tag-chip:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.tag-chip:hover .cnt {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
}

/* ============================================================
   REVIEWS — tighter, more editorial
   ============================================================ */
.review {
    padding: 28px 26px 24px;
    border-color: var(--border);
}
.review-quote {
    font-size: 48px;
    line-height: 0.7;
    color: var(--brand);
    opacity: 0.45;
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-bottom: 8px;
}
.review p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text);
}
.review-foot { gap: 14px; }
