776 lines
69 KiB
HTML
776 lines
69 KiB
HTML
<!DOCTYPE html>
|
|||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<script src="./support.js"></script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<x-dc>
|
||
|
|
<helmet>
|
||
|
|
<link rel="icon" type="image/svg+xml" href="favicon-mass.svg" />
|
||
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
|
||
|
|
<link href="https://fonts.googleapis.com/css2?family=Commissioner:wght@300;400;500;600&family=Unbounded:wght@500;600&display=swap" rel="stylesheet" />
|
||
|
|
<script src="https://unpkg.com/d3@7.9.0/dist/d3.min.js" crossorigin="anonymous"></script>
|
||
|
|
<script src="https://unpkg.com/topojson-client@3.1.0/dist/topojson-client.min.js" crossorigin="anonymous"></script>
|
||
|
|
<script>(function(){if(window.__veilixI18nSrc)return;window.__veilixI18nSrc="./i18n.js?v="+Date.now().toString(36)+Math.random().toString(36).slice(2,8);var s=document.createElement("script");s.src=window.__veilixI18nSrc;document.head.appendChild(s);})();</script>
|
||
|
|
<style>
|
||
|
|
:root{
|
||
|
|
--bg: oklch(99.6% 0.0015 215);
|
||
|
|
--surface: oklch(100% 0 0);
|
||
|
|
--surface-2: oklch(98.4% 0.003 215);
|
||
|
|
--ink: oklch(24% 0.04 204);
|
||
|
|
--ink-2: oklch(45% 0.03 204);
|
||
|
|
--ink-3: oklch(60% 0.025 204);
|
||
|
|
--border: oklch(92% 0.014 200);
|
||
|
|
--accent: oklch(48% 0.105 178);
|
||
|
|
--accent-hover: oklch(41% 0.1 178);
|
||
|
|
--accent-soft: oklch(95.5% 0.032 180);
|
||
|
|
--sel: oklch(96.5% 0.016 190);
|
||
|
|
--on-accent: oklch(99% 0.01 180);
|
||
|
|
--glow-1: oklch(86% 0.085 190);
|
||
|
|
--glow-2: oklch(88% 0.075 205);
|
||
|
|
--glow-3: oklch(89% 0.07 172);
|
||
|
|
--veil: oklch(100% 0 0 / 0.55);
|
||
|
|
--land: oklch(95% 0.012 196);
|
||
|
|
--land-line: oklch(90% 0.018 196);
|
||
|
|
--ocean: oklch(97.5% 0.007 196);
|
||
|
|
--shadow: 0 1px 2px oklch(24% 0.04 204 / 0.05), 0 12px 32px -12px oklch(24% 0.04 204 / 0.14);
|
||
|
|
}
|
||
|
|
:root[data-veilix-theme="dark"]{
|
||
|
|
--bg: oklch(23% 0.026 210);
|
||
|
|
--surface: oklch(26.5% 0.028 210);
|
||
|
|
--surface-2: oklch(30% 0.03 210);
|
||
|
|
--ink: oklch(96% 0.012 196);
|
||
|
|
--ink-2: oklch(80% 0.02 196);
|
||
|
|
--ink-3: oklch(65% 0.025 196);
|
||
|
|
--border: oklch(36% 0.04 204);
|
||
|
|
--accent: oklch(76% 0.105 190);
|
||
|
|
--accent-hover: oklch(83% 0.09 190);
|
||
|
|
--accent-soft: oklch(31% 0.05 190);
|
||
|
|
--sel: oklch(30% 0.03 195);
|
||
|
|
--on-accent: oklch(20% 0.04 204);
|
||
|
|
--glow-1: oklch(52% 0.09 200);
|
||
|
|
--glow-2: oklch(47% 0.085 215);
|
||
|
|
--glow-3: oklch(50% 0.08 180);
|
||
|
|
--veil: oklch(100% 0 0 / 0.07);
|
||
|
|
--land: oklch(31% 0.035 204);
|
||
|
|
--land-line: oklch(37% 0.04 204);
|
||
|
|
--ocean: oklch(27% 0.035 204);
|
||
|
|
--shadow: 0 1px 2px oklch(12% 0.03 204 / 0.4), 0 16px 40px -16px oklch(9% 0.03 204 / 0.7);
|
||
|
|
}
|
||
|
|
*{ box-sizing: border-box; }
|
||
|
|
input, textarea, select{ font-size: 16px; }
|
||
|
|
[hidden]{ display: none !important; }
|
||
|
|
body{ margin:0; background: var(--bg); color: var(--ink); font-family:"Commissioner", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
|
||
|
|
a{ color: var(--accent); text-decoration: none; }
|
||
|
|
a:hover{ color: var(--accent-hover); }
|
||
|
|
summary{ list-style: none; }
|
||
|
|
@keyframes veilPulse{
|
||
|
|
0%{ transform: scale(1); opacity: 0.32; }
|
||
|
|
70%{ transform: scale(2.6); opacity: 0; }
|
||
|
|
100%{ transform: scale(2.6); opacity: 0; }
|
||
|
|
}
|
||
|
|
@keyframes veilDrift{
|
||
|
|
0%{ transform: translate3d(0,0,0) scale(1); }
|
||
|
|
50%{ transform: translate3d(2%,-3%,0) scale(1.06); }
|
||
|
|
100%{ transform: translate3d(0,0,0) scale(1); }
|
||
|
|
}
|
||
|
|
@keyframes veilDrift2{
|
||
|
|
0%{ transform: translate3d(0,0,0) scale(1.04); }
|
||
|
|
50%{ transform: translate3d(-3%,2%,0) scale(1); }
|
||
|
|
100%{ transform: translate3d(0,0,0) scale(1.04); }
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</helmet>
|
||
|
|
|
||
|
|
<template id="__bundler_thumbnail" data-bg-color="#e3f4f1">
|
||
|
|
<svg viewBox="0 0 1200 800" xmlns="http://www.w3.org/2000/svg">
|
||
|
|
<rect x="480" y="290" width="150" height="150" rx="48" fill="#00705e" />
|
||
|
|
<rect x="570" y="360" width="150" height="150" rx="48" fill="#ffffff" fill-opacity="0.62" stroke="#00705e" stroke-width="6" />
|
||
|
|
</svg>
|
||
|
|
</template>
|
||
|
|
<div style="background: var(--bg); color: var(--ink); font-family: 'Commissioner', system-ui, sans-serif; font-weight: 400; letter-spacing: -0.01em; min-height: 100vh; transition: background 240ms ease, color 240ms ease;">
|
||
|
|
|
||
|
|
<header style="position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border);">
|
||
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 14px 24px; min-height: 66px; display: flex; flex-wrap: nowrap; align-items: center; gap: 14px 40px;">
|
||
|
|
|
||
|
|
<a href="#top" style="display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none;">
|
||
|
|
<span style="position: relative; width: 28px; height: 28px; display: block; flex: none;">
|
||
|
|
<span hidden="{{ mark1Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 7px; background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--glow-3))); display: block;"></span>
|
||
|
|
<span style="position: absolute; right: 0; bottom: 3px; width: 21px; height: 21px; border-radius: 7px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); backdrop-filter: blur(2px); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark2Off }}" style="position: absolute; inset: 0; overflow: hidden;">
|
||
|
|
<span style="position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--glow-2))); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: -6px; top: 13px; width: 40px; height: 18px; border-radius: 10px 10px 4px 4px; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(3px); transform: rotate(-14deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark3Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 1px; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(-30deg); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 7px; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(20deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark4Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 45%, var(--glow-1))); transform: rotate(45deg); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 9px; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: color-mix(in oklab, var(--bg) 85%, transparent); transform: rotate(45deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
</span>
|
||
|
|
<span style="font-family: 'Unbounded', 'Commissioner', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; width: 132px; flex: none; white-space: nowrap;">ВейликсВПН</span>
|
||
|
|
</a>
|
||
|
|
|
||
|
|
<nav hidden="{{ navOff }}" style="display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; color: var(--ink-2);">
|
||
|
|
<a href="MassPrice.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Цены</a>
|
||
|
|
<a href="MassLocations.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Локации</a>
|
||
|
|
<a href="MassSupport.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Поддержка</a>
|
||
|
|
</nav>
|
||
|
|
|
||
|
|
<div style="margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;">
|
||
|
|
<div hidden="{{ navOff }}" style="position: relative;">
|
||
|
|
<button type="button" onClick="{{ toggleLangMenu }}" title="Язык" style="display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--ink-2); font-family: inherit; font-size: 14px; cursor: pointer;" style-hover="color: var(--ink); border-color: var(--ink-3);">
|
||
|
|
<span style="position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: block; flex: none;">
|
||
|
|
<span style="position: absolute; left: -1.5px; top: 5.75px; width: 16px; height: 1.5px; background: currentColor; display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 3.25px; top: -1.5px; width: 8px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span style="font-variant-numeric: tabular-nums;">{{ langLabel }}</span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ langMenuOff }}" style="position: absolute; right: 0; top: 46px; width: 172px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px;">
|
||
|
|
<button type="button" onClick="{{ setRu }}" style="display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: {{ ruBg }}; color: var(--ink); font-family: inherit; font-size: 14px; text-align: left; cursor: pointer;">
|
||
|
|
<span>Русский</span>
|
||
|
|
<span style="color: var(--accent);">{{ ruCheck }}</span>
|
||
|
|
</button>
|
||
|
|
<button type="button" onClick="{{ setEn }}" style="display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: {{ enBg }}; color: var(--ink); font-family: inherit; font-size: 14px; text-align: left; cursor: pointer;">
|
||
|
|
<span>English</span>
|
||
|
|
<span style="color: var(--accent);">{{ enCheck }}</span>
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a href="MassApp.dc.html" hidden="{{ navOff }}" style="display: flex; align-items: center; justify-content: center; height: 38px; width: 78px; flex: none; box-sizing: border-box; border-radius: 10px; color: var(--ink-2); font-size: 15px;" style-hover="color: var(--ink); background: var(--surface-2);">Войти</a>
|
||
|
|
<a href="#prices" hidden="{{ navOff }}" style="display: flex; align-items: center; justify-content: center; height: 38px; width: 142px; flex: none; box-sizing: border-box; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 500; box-shadow: 0 6px 18px -8px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Получить VPN</a>
|
||
|
|
<button type="button" hidden="{{ burgerOff }}" onClick="{{ toggleMenu }}" title="Меню" style="display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
||
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
||
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
||
|
|
<span style="width: 18px; height: 2px; border-radius: 2px; background: currentColor; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div hidden="{{ menuOff }}" style="position: absolute; left: 0; right: 0; top: 100%; z-index: 45; padding: 10px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 2px;">
|
||
|
|
<a href="MassPrice.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Цены</a>
|
||
|
|
<a href="MassLocations.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Локации</a>
|
||
|
|
<a href="MassSupport.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Поддержка</a>
|
||
|
|
<div style="display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; margin-top: 6px; border-top: 1px solid var(--border);">
|
||
|
|
<a href="MassApp.dc.html" onClick="{{ closeMenu }}" style="padding: 13px 6px; font-size: 17px; color: var(--ink);">Войти</a>
|
||
|
|
<div style="display: flex; gap: 6px; flex: none;">
|
||
|
|
<button type="button" onClick="{{ setRu }}" style="padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: {{ ruBg }}; color: var(--ink); font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;">Русский</button>
|
||
|
|
<button type="button" onClick="{{ setEn }}" style="padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: {{ enBg }}; color: var(--ink); font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;">English</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a href="#prices" onClick="{{ closeMenu }}" style="display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 12px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500;">Получить VPN</a>
|
||
|
|
</div>
|
||
|
|
</header>
|
||
|
|
|
||
|
|
<main id="top" style="max-width: 1200px; margin: 0 auto; padding: 0 24px;">
|
||
|
|
|
||
|
|
<section style="position: relative; min-height: 62vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; padding: clamp(32px, 7vw, 72px) 0 clamp(28px, 7vw, 84px);">
|
||
|
|
<div>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px;">
|
||
|
|
<div style="display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--ink-2);">
|
||
|
|
<span style="width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
||
|
|
Все страны в одной подписке
|
||
|
|
</div>
|
||
|
|
<div style="display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 500;">Работаем с 2022 года</div>
|
||
|
|
</div>
|
||
|
|
<h1 style="margin: 0 0 22px; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance;">VPN, который не нужно отключать</h1>
|
||
|
|
<p style="margin: 0 0 34px; max-width: 30em; font-size: 18px; line-height: 1.55; color: var(--ink-2); font-weight: 300; text-wrap: pretty;">Тридцать локаций и российский адрес входят в подписку. Переключайтесь между странами сколько угодно, на пяти устройствах сразу.</p>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: clamp(8px, 2vw, 12px);">
|
||
|
|
<a href="#prices" style="display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 clamp(14px, 4vw, 24px); border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500; box-shadow: 0 10px 28px -12px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Получить VPN</a>
|
||
|
|
<a href="#locations" style="display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 clamp(14px, 4vw, 22px); border-radius: 12px; border: 1px solid var(--border); color: var(--ink); font-size: 16px; white-space: nowrap;" style-hover="border-color: var(--ink-3); color: var(--ink);">Посмотреть локации</a>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: {{ heroAlign }}; border-radius: 28px; overflow: hidden; isolation: isolate; -webkit-transform: translateZ(0); transform: translateZ(0); background: var(--surface-2); border: 1px solid var(--border);">
|
||
|
|
<div style="position: absolute; left: -12%; top: -8%; width: 78%; height: 78%; border-radius: 50%; background: var(--glow-1); filter: blur(46px); opacity: 0.85; animation: veilDrift 16s ease-in-out infinite;"></div>
|
||
|
|
<div style="position: absolute; right: -14%; top: 14%; width: 70%; height: 70%; border-radius: 50%; background: var(--glow-3); filter: blur(52px); opacity: 0.75; animation: veilDrift2 19s ease-in-out infinite;"></div>
|
||
|
|
<div style="position: absolute; left: 16%; bottom: -16%; width: 82%; height: 68%; border-radius: 50%; background: var(--glow-2); filter: blur(54px); opacity: 0.8; animation: veilDrift 23s ease-in-out infinite;"></div>
|
||
|
|
<div id="veilix-globe" style="position: absolute; left: 8%; top: 8%; width: 84%; height: 84%;"></div>
|
||
|
|
<div style="position: absolute; left: 8%; top: 30%; right: 8%; height: 26%; border-radius: 18px; background: color-mix(in oklab, var(--veil) 72%, transparent); border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: rotate(-8deg);"></div>
|
||
|
|
<div style="position: absolute; left: 12%; top: 46%; right: 4%; height: 24%; border-radius: 18px; background: color-mix(in oklab, var(--veil) 72%, transparent); border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transform: rotate(6deg);"></div>
|
||
|
|
<div style="position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: color-mix(in oklab, var(--surface) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border);">
|
||
|
|
<div style="display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2);">
|
||
|
|
<span style="width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; flex: none;"></span>
|
||
|
|
30 стран, переключение в один тап
|
||
|
|
</div>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums;">
|
||
|
|
<span>699 ₽ в месяц или 6 990 ₽ в год</span>
|
||
|
|
<span>До 5 устройств</span>
|
||
|
|
<span>RU-адрес включён</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section id="advantages" style="padding: 16px 0 8px;">
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px;">
|
||
|
|
<h2 style="margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em;">Что это даёт на практике</h2>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;">
|
||
|
|
<div style="position: relative; isolation: isolate; padding: clamp(20px, 5vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
||
|
|
<div style="position: absolute; inset: 0; border-radius: 22px; overflow: hidden; pointer-events: none; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black);">
|
||
|
|
<div style="position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--glow-1); filter: blur(60px); opacity: 0.5;"></div>
|
||
|
|
</div>
|
||
|
|
<div style="position: relative;">
|
||
|
|
<div style="display: flex; align-items: center; gap: 12px; margin-bottom: 18px;">
|
||
|
|
<span style="position: relative; width: 34px; height: 34px; flex: none; display: block;">
|
||
|
|
<span style="position: absolute; left: 11px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 4px; top: 19px; width: 26px; height: 14px; border-radius: 13px 13px 4px 4px; background: var(--accent); opacity: 0.35; display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 23px; top: 18px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<h3 style="margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em;">Все локации в подписке</h3>
|
||
|
|
</div>
|
||
|
|
<p style="margin: 0 0 26px; max-width: 34em; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Список стран открыт целиком. Выбираете страну в приложении, соединение перестраивается за пару секунд, доплачивать за переключение не нужно.</p>
|
||
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px;">
|
||
|
|
<div>
|
||
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Тридцать стран</div>
|
||
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Европа, США, Азия, Ближний Восток и Южная Америка. Список пополняется.</div>
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Пять устройств сразу</div>
|
||
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Телефон, ноутбук, планшет и ещё два устройства работают одновременно.</div>
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Российские сайты напрямую</div>
|
||
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Банки и госуслуги работают как обычно, отключать VPN не нужно.</div>
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
<div style="font-size: 15px; font-weight: 500; margin-bottom: 6px;">Трафик под шифрованием</div>
|
||
|
|
<div style="font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Дома, в отеле или в кафе соединение защищено в любой точке мира.</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="display: grid; gap: 16px; align-content: start;">
|
||
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
||
|
|
<div style="display: flex; gap: 4px; margin-bottom: 16px;">
|
||
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: var(--accent); display: block;"></span>
|
||
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 75%, transparent); display: block;"></span>
|
||
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 55%, transparent); display: block;"></span>
|
||
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 35%, transparent); display: block;"></span>
|
||
|
|
<span style="width: 11px; height: 22px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 18%, transparent); display: block;"></span>
|
||
|
|
</div>
|
||
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">Пять устройств в подписке</h3>
|
||
|
|
<p style="margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Одна подписка на всю технику. Устройства работают одновременно и в разных странах.</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
||
|
|
<div style="display: flex; align-items: center; gap: 8px; margin-bottom: 16px;">
|
||
|
|
<span style="width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: block;"></span>
|
||
|
|
<span style="width: 26px; height: 2px; background: color-mix(in oklab, var(--accent) 40%, transparent); display: block;"></span>
|
||
|
|
<span style="width: 22px; height: 22px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 55%, transparent); display: block;"></span>
|
||
|
|
</div>
|
||
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">Российский адрес включён</h3>
|
||
|
|
<p style="margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Российская локация входит в подписку: банки, госуслуги и стриминг открываются как дома.</p>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="padding: clamp(20px, 4.6vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
||
|
|
<div style="display: flex; align-items: center; gap: 6px; margin-bottom: 16px;">
|
||
|
|
<span style="width: 22px; height: 22px; border-radius: 7px; background: var(--accent); transform: rotate(45deg); display: block;"></span>
|
||
|
|
<span style="width: 22px; height: 22px; border-radius: 7px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); transform: rotate(45deg); display: block;"></span>
|
||
|
|
</div>
|
||
|
|
<h3 style="margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;">Современный протокол XRAY</h3>
|
||
|
|
<p style="margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-weight: 300;">Трафик неотличим от обычного HTTPS, поэтому подключение держится там, где старые протоколы уже не работают.</p>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums;">
|
||
|
|
<span style="padding: 4px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);">VLESS</span>
|
||
|
|
<span style="padding: 4px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);">Hysteria2</span>
|
||
|
|
<span style="padding: 4px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);">XHTTP</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="margin-top: 16px; padding: clamp(20px, 5vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);">
|
||
|
|
<h3 style="margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em;">Трафик идёт коротким путём</h3>
|
||
|
|
<p style="margin: 0 0 28px; max-width: 46em; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Маршрут выбирается сам, по адресу сайта. Российские сервисы не ломаются, зарубежные открываются, переключать ничего не нужно.</p>
|
||
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px;">
|
||
|
|
<div style="padding: 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border);">
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 16px;">Вы в России</div>
|
||
|
|
<div style="display: grid; gap: 12px;">
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
||
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">RU-сайты</span>
|
||
|
|
<span style="flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 25%, transparent)); display: block;"></span>
|
||
|
|
<span style="flex: none; color: var(--ink-2);">напрямую через RU-сервер</span>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
||
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">Остальной мир</span>
|
||
|
|
<span style="flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); display: block;"></span>
|
||
|
|
<span style="flex: none; color: var(--ink-2);">туннелем в выбранную локацию</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div style="padding: 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border);">
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 16px;">Вы за границей</div>
|
||
|
|
<div style="display: grid; gap: 12px;">
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
||
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">Мировые сайты</span>
|
||
|
|
<span style="flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 25%, transparent)); display: block;"></span>
|
||
|
|
<span style="flex: none; color: var(--ink-2);">прямо из выбранной локации</span>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px;">
|
||
|
|
<span style="flex: none; width: 72px; color: var(--ink-2); font-weight: 500;">RU-сайты</span>
|
||
|
|
<span style="flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); display: block;"></span>
|
||
|
|
<span style="flex: none; color: var(--ink-2);">туннелем через RU-сервер</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div style="margin-top: 16px; font-size: 13px; color: var(--ink-3);">Для тех, кто работает с Россией из другой страны.</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section id="prices" style="padding: 72px 0 8px;">
|
||
|
|
<div style="position: relative; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); -webkit-transform: translateZ(0); transform: translateZ(0); border-radius: 26px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);">
|
||
|
|
<div style="position: absolute; left: min(-60px, calc(-110px + 8vw)); bottom: min(-120px, calc(-170px + 10vw)); width: clamp(150px, 34vw, 340px); height: clamp(150px, 34vw, 340px); border-radius: 50%; background: radial-gradient(circle at 60% 40%, var(--glow-1) 0%, color-mix(in oklab, var(--glow-1) 35%, transparent) 55%, transparent 78%); filter: blur(70px); opacity: 0.45;"></div>
|
||
|
|
<div style="position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 40px); padding: clamp(20px, 5vw, 40px);">
|
||
|
|
<div>
|
||
|
|
<h2 style="margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em;">Одна подписка, все страны</h2>
|
||
|
|
<p style="margin: 0 0 22px; max-width: 34em; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Тридцать локаций, российский адрес и пять устройств.</p>
|
||
|
|
<div style="display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 300; margin-bottom: 24px;">
|
||
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>Все 30 стран и российский адрес</div>
|
||
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>До 5 устройств одновременно</div>
|
||
|
|
<div style="display: flex; gap: 10px;"><span style="color: var(--accent);">—</span>Современный протокол XRAY</div>
|
||
|
|
</div>
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 10px;">Страны в подписке</div>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px;">
|
||
|
|
<sc-for list="{{ countries }}" as="c" hint-placeholder-count="14">
|
||
|
|
<span style="padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--ink-2);">{{ c.name }}</span>
|
||
|
|
</sc-for>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="display: grid; gap: 12px; align-content: start;">
|
||
|
|
<div role="button" tabindex="0" onClick="{{ pickMonth }}" style="display: grid; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid {{ planMonthBorder }}; background: {{ planMonthBg }}; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
||
|
|
<span style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;">
|
||
|
|
<span style="font-size: 16px; font-weight: 500;">Месяц</span>
|
||
|
|
<span style="font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;">699 ₽</span>
|
||
|
|
</span>
|
||
|
|
<span style="font-size: 14px; color: var(--ink-3); font-weight: 300;">Списание раз в месяц, отмена в любой момент</span>
|
||
|
|
</div>
|
||
|
|
<div role="button" tabindex="0" onClick="{{ pickYear }}" style="display: grid; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid {{ planYearBorder }}; background: {{ planYearBg }}; cursor: pointer;" style-hover="border-color: var(--ink-3);">
|
||
|
|
<span style="display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;">
|
||
|
|
<span style="display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500;">Год
|
||
|
|
<span style="padding: 3px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500;">выгоднее</span>
|
||
|
|
</span>
|
||
|
|
<span style="font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;">6 990 ₽</span>
|
||
|
|
</span>
|
||
|
|
<span style="font-size: 14px; color: var(--ink-3); font-weight: 300; font-variant-numeric: tabular-nums;">582 ₽ в месяц, экономия 1 398 ₽ за год</span>
|
||
|
|
</div>
|
||
|
|
<a href="MassOrder.dc.html" style="display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 4px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 500; box-shadow: 0 10px 28px -12px var(--accent);" style-hover="background: var(--accent-hover); color: var(--on-accent);">Оформить подписку</a>
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); line-height: 1.5;">Карты российских и зарубежных банков, криптовалюта. Доступ открывается сразу после оплаты.</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section style="padding: 24px 0 0;">
|
||
|
|
<div style="display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(20px, 5vw, 32px); border-radius: 22px; border: 1px solid var(--border); background: var(--surface-2);">
|
||
|
|
<div>
|
||
|
|
<h3 style="margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.025em;">Нужен адрес, закреплённый только за вами</h3>
|
||
|
|
<p style="margin: 0; max-width: 46em; font-size: 15px; line-height: 1.55; color: var(--ink-2); font-weight: 300;">Здесь сервер общий: он дешевле и этого достаточно большинству. Если сервисы требуют постоянный IP, посмотрите индивидуальные тарифы Вейликс.</p>
|
||
|
|
</div>
|
||
|
|
<a href="Main.dc.html" style="display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--accent); color: var(--accent); font-size: 15px; font-weight: 500; white-space: nowrap;" style-hover="background: var(--accent-soft); color: var(--accent);">Индивидуальный IP</a>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section id="faq" style="padding: 72px 0 32px;">
|
||
|
|
<h2 style="margin: 0 0 28px; font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em;">Вопросы</h2>
|
||
|
|
<div style="display: grid; gap: 10px; max-width: 860px;">
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq0 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">Что входит в подписку?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq0Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq0Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Все тридцать стран, включая российскую локацию, и пять устройств. Отдельной платы за страну или устройство нет.</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq1 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">Можно менять страну сколько угодно?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq1Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq1Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Да. Переключение занимает пару секунд и ничего не стоит: список локаций открыт целиком на всё время подписки.</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq2 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">Нужно ли что-то настраивать самому?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq2Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq2Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Нет. В кабинете вы скачиваете готовый файл или сканируете QR-код с телефона. Российские сайты идут напрямую, зарубежные — через выбранную локацию.</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq3 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">На каком протоколе работает подключение?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq3Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq3Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">На XRAY — это современный протокол с VLESS, Hysteria2 и XHTTP. Трафик выглядит как обычный HTTPS, поэтому соединение держится там, где старые протоколы блокируются.</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq4 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">Чем это отличается от индивидуального тарифа?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq4Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq4Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">Здесь адрес общий: на сервере несколько человек, поэтому подписка стоит заметно дешевле. Если нужен адрес, закреплённый только за вами, это отдельные тарифы с индивидуальным IP.</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden;">
|
||
|
|
<button type="button" onClick="{{ faq5 }}" style="display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; letter-spacing: -0.015em;">
|
||
|
|
<span style="flex: 1;">Как оплачивается и продлевается?</span>
|
||
|
|
<span style="flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: {{ faq5Rot }}; transition: transform 180ms ease; display: block;"></span>
|
||
|
|
</button>
|
||
|
|
<div hidden="{{ faq5Off }}" style="padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 62ch;">699 ₽ в месяц или 6 990 ₽ в год со списанием с привязанной карты. Годовая подписка дешевле помесячной на 1 398 ₽. Отменить продление можно в кабинете в любой момент.</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</main>
|
||
|
|
|
||
|
|
<footer style="margin-top: 40px; border-top: 1px solid var(--border); background: var(--surface-2);">
|
||
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 24px) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;">
|
||
|
|
<div>
|
||
|
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 14px;">
|
||
|
|
<span style="position: relative; width: 24px; height: 24px; display: block; flex: none;">
|
||
|
|
<span hidden="{{ mark1Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(140deg, var(--accent), color-mix(in oklab, var(--accent) 55%, var(--glow-3))); display: block;"></span>
|
||
|
|
<span style="position: absolute; right: 0; bottom: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--veil); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark2Off }}" style="position: absolute; inset: 0; overflow: hidden;">
|
||
|
|
<span style="position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--glow-2))); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: -5px; top: 11px; width: 34px; height: 15px; border-radius: 9px 9px 4px 4px; background: color-mix(in oklab, var(--surface-2) 72%, transparent); backdrop-filter: blur(3px); transform: rotate(-14deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark3Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 1px; top: 1px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(-30deg); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom-color: transparent; border-right-color: transparent; transform: rotate(20deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
<span hidden="{{ mark4Off }}" style="position: absolute; inset: 0;">
|
||
|
|
<span style="position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 45%, var(--glow-1))); transform: rotate(45deg); display: block;"></span>
|
||
|
|
<span style="position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 3px; background: color-mix(in oklab, var(--surface-2) 85%, transparent); transform: rotate(45deg); display: block;"></span>
|
||
|
|
</span>
|
||
|
|
</span>
|
||
|
|
<span style="font-family: 'Unbounded', 'Commissioner', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.02em;">ВейликсВПН</span>
|
||
|
|
</div>
|
||
|
|
<p style="margin: 0 0 20px; max-width: 26em; font-size: 14px; line-height: 1.55; color: var(--ink-3); font-weight: 300;">VPN, который не нужно отключать. Работаем с 2022 года.</p>
|
||
|
|
<div style="display: flex; flex-wrap: wrap; gap: 6px;">
|
||
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">VISA</span>
|
||
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">MC</span>
|
||
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">МИР</span>
|
||
|
|
<span style="display: flex; align-items: center; justify-content: center; width: 60px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);">CRYPTO</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 24px 32px; align-content: start;">
|
||
|
|
<div style="display: grid; gap: 10px; align-content: start; font-size: 14px;">
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 2px;">Сервис</div>
|
||
|
|
<a href="MassPrice.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Цены</a>
|
||
|
|
<a href="MassLocations.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Локации</a>
|
||
|
|
<a href="MassSupport.dc.html" style="color: var(--ink-2);" style-hover="color: var(--ink);">Поддержка</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div style="display: grid; gap: 10px; align-content: start; font-size: 14px;">
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3); margin-bottom: 2px;">Документы</div>
|
||
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Условия использования</a>
|
||
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Политика конфиденциальности</a>
|
||
|
|
<a href="#top" style="color: var(--ink-2);" style-hover="color: var(--ink);">Возврат средств</a>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div style="max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px) 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;">
|
||
|
|
<div style="font-size: 13px; color: var(--ink-3);">© 2026 ВейликсВПН</div>
|
||
|
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||
|
|
<div style="display: flex; padding: 2px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); flex: none;">
|
||
|
|
<button type="button" onClick="{{ setLight }}" title="Светлая тема" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ lightBg }}; color: {{ lightInk }}; cursor: pointer;"><span style="position: relative; width: 14px; height: 14px; display: block;"><span style="position: absolute; left: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: block;"></span><span style="position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.45; display: block;"></span></span></button>
|
||
|
|
<button type="button" onClick="{{ setDark }}" title="Тёмная тема" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ darkBg }}; color: {{ darkInk }}; cursor: pointer;"><span style="width: 14px; height: 14px; border-radius: 50%; box-shadow: inset -5px -1.5px 0 0 currentColor; display: block;"></span></button>
|
||
|
|
<button type="button" onClick="{{ setSystem }}" title="Как в системе" style="display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: {{ systemBg }}; color: {{ systemInk }}; cursor: pointer;"><span style="width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); display: block;"></span></button>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex; padding: 2px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); flex: none;">
|
||
|
|
<button type="button" onClick="{{ setRu }}" style="padding: 0 10px; height: 28px; border: 0; border-radius: 7px; background: {{ ruBg }}; color: {{ ruInk }}; font-family: inherit; font-size: 12px; cursor: pointer;">RU</button>
|
||
|
|
<button type="button" onClick="{{ setEn }}" style="padding: 0 10px; height: 28px; border: 0; border-radius: 7px; background: {{ enBg }}; color: {{ enInk }}; font-family: inherit; font-size: 12px; cursor: pointer;">EN</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</footer>
|
||
|
|
</div>
|
||
|
|
</x-dc>
|
||
|
|
<script type="text/x-dc" data-dc-script data-props="{"defaultTheme":{"editor":"enum","options":["light","dark","system"],"default":"light","tsType":"'light' | 'dark' | 'system'","section":"Тема"},"logoMark":{"editor":"enum","options":["layers","veil","arcs","aperture"],"default":"layers","tsType":"string","section":"Логотип"},"showLogoPicker":{"editor":"boolean","default":false,"tsType":"boolean","section":"Логотип"}}">
|
||
|
|
class Component extends DCLogic {
|
||
|
|
state = { plan: "year", theme: null, sysDark: false, loc: 0, faq: 0, mark: null, langMenu: false, lang: "ru", narrow: false, stacked: false, menu: false, lead: false, leadSent: false };
|
||
|
|
|
||
|
|
data() {
|
||
|
|
const base = { setup: "4 900 ₽", month: "2 499 ₽" };
|
||
|
|
const rare = { setup: "6 900 ₽", month: "3 499 ₽" };
|
||
|
|
const far = { setup: "9 900 ₽", month: "4 999 ₽" };
|
||
|
|
const L = (country, city, code, lng, lat, ready, tier) => ({ country, city, code, lng, lat, ready, setup: tier.setup, month: tier.month, rare: tier !== base });
|
||
|
|
return [
|
||
|
|
L("Нидерланды", "Амстердам", "nl", 4.9, 52.37, true, base),
|
||
|
|
L("Германия", "Франкфурт", "de", 8.68, 50.11, true, base),
|
||
|
|
L("США", "Нью-Йорк", "us", -74.01, 40.71, true, base),
|
||
|
|
L("Великобритания", "Лондон", "gb", -0.13, 51.51, true, base),
|
||
|
|
L("Франция", "Париж", "fr", 2.35, 48.86, true, base),
|
||
|
|
L("Финляндия", "Хельсинки", "fi", 24.94, 60.17, true, base),
|
||
|
|
L("Швеция", "Стокгольм", "se", 18.07, 59.33, true, base),
|
||
|
|
L("Норвегия", "Осло", "no", 10.75, 59.91, false, base),
|
||
|
|
L("Дания", "Копенгаген", "dk", 12.57, 55.68, false, base),
|
||
|
|
L("Швейцария", "Цюрих", "ch", 8.54, 47.37, true, rare),
|
||
|
|
L("Австрия", "Вена", "at", 16.37, 48.21, true, base),
|
||
|
|
L("Испания", "Мадрид", "es", -3.7, 40.42, true, base),
|
||
|
|
L("Италия", "Милан", "it", 9.19, 45.46, true, base),
|
||
|
|
L("Польша", "Варшава", "pl", 21.01, 52.23, true, base),
|
||
|
|
L("Чехия", "Прага", "cz", 14.44, 50.08, true, base),
|
||
|
|
L("Румыния", "Бухарест", "ro", 26.1, 44.43, false, base),
|
||
|
|
L("Литва", "Вильнюс", "lt", 25.28, 54.69, true, base),
|
||
|
|
L("Латвия", "Рига", "lv", 24.11, 56.95, true, base),
|
||
|
|
L("Эстония", "Таллин", "ee", 24.75, 59.44, false, base),
|
||
|
|
L("Турция", "Стамбул", "tr", 28.98, 41.01, true, base),
|
||
|
|
L("Казахстан", "Алматы", "kz", 76.89, 43.24, false, base),
|
||
|
|
L("Армения", "Ереван", "am", 44.51, 40.18, false, base),
|
||
|
|
L("Грузия", "Тбилиси", "ge", 44.8, 41.72, false, base),
|
||
|
|
L("ОАЭ", "Дубай", "ae", 55.27, 25.2, true, rare),
|
||
|
|
L("Сингапур", "Сингапур", "sg", 103.82, 1.35, true, rare),
|
||
|
|
L("Япония", "Токио", "jp", 139.69, 35.69, true, rare),
|
||
|
|
L("Южная Корея", "Сеул", "kr", 126.98, 37.57, false, rare),
|
||
|
|
L("Канада", "Торонто", "ca", -79.38, 43.65, true, base),
|
||
|
|
L("Австралия", "Сидней", "au", 151.21, -33.87, false, far),
|
||
|
|
L("Бразилия", "Сан-Паулу", "br", -46.63, -23.55, false, far)
|
||
|
|
];
|
||
|
|
}
|
||
|
|
|
||
|
|
flagSpecs() {
|
||
|
|
return {
|
||
|
|
nl: { rows: ["#AE1C28", "#FFFFFF", "#21468B"] },
|
||
|
|
de: { rows: ["#000000", "#DD0000", "#FFCE00"] },
|
||
|
|
us: { rows: ["#B22234", "#FFFFFF", "#B22234", "#FFFFFF", "#B22234", "#FFFFFF"], marks: [{ l: 0, t: 0, w: 22, h: 17, bg: "#3C3B6E" }] },
|
||
|
|
gb: { bg: "#012169", marks: [{ l: 17, t: 0, w: 12, h: 32, bg: "#FFFFFF" }, { l: 0, t: 10, w: 46, h: 12, bg: "#FFFFFF" }, { l: 20, t: 0, w: 6, h: 32, bg: "#C8102E" }, { l: 0, t: 13, w: 46, h: 6, bg: "#C8102E" }] },
|
||
|
|
fr: { cols: ["#002395", "#FFFFFF", "#ED2939"] },
|
||
|
|
fi: { bg: "#FFFFFF", marks: [{ l: 13, t: 0, w: 8, h: 32, bg: "#003580" }, { l: 0, t: 12, w: 46, h: 8, bg: "#003580" }] },
|
||
|
|
se: { bg: "#006AA7", marks: [{ l: 13, t: 0, w: 6, h: 32, bg: "#FECC00" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FECC00" }] },
|
||
|
|
no: { bg: "#BA0C2F", marks: [{ l: 12, t: 0, w: 10, h: 32, bg: "#FFFFFF" }, { l: 0, t: 11, w: 46, h: 10, bg: "#FFFFFF" }, { l: 15, t: 0, w: 4, h: 32, bg: "#00205B" }, { l: 0, t: 14, w: 46, h: 4, bg: "#00205B" }] },
|
||
|
|
dk: { bg: "#C8102E", marks: [{ l: 13, t: 0, w: 6, h: 32, bg: "#FFFFFF" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FFFFFF" }] },
|
||
|
|
ch: { bg: "#D52B1E", marks: [{ l: 20, t: 8, w: 6, h: 16, bg: "#FFFFFF" }, { l: 15, t: 13, w: 16, h: 6, bg: "#FFFFFF" }] },
|
||
|
|
at: { rows: ["#ED2939", "#FFFFFF", "#ED2939"] },
|
||
|
|
es: { rows: ["#AA151B", "#F1BF00", "#AA151B"], sizes: "1fr 2fr 1fr" },
|
||
|
|
it: { cols: ["#008C45", "#F4F5F0", "#CD212A"] },
|
||
|
|
pl: { rows: ["#FFFFFF", "#DC143C"] },
|
||
|
|
cz: { rows: ["#FFFFFF", "#D7141A"], marks: [{ l: 0, t: 0, w: 18, h: 32, bg: "#11457E", clip: "polygon(0 0, 100% 50%, 0 100%)" }] },
|
||
|
|
ro: { cols: ["#002B7F", "#FCD116", "#CE1126"] },
|
||
|
|
lt: { rows: ["#FDB913", "#006A44", "#C1272D"] },
|
||
|
|
lv: { rows: ["#9E3039", "#FFFFFF", "#9E3039"], sizes: "2fr 1fr 2fr" },
|
||
|
|
ee: { rows: ["#0072CE", "#000000", "#FFFFFF"] },
|
||
|
|
tr: { bg: "#E30A17", marks: [{ l: 11, t: 8, w: 16, h: 16, r: "50%", bg: "#FFFFFF" }, { l: 16, t: 8, w: 16, h: 16, r: "50%", bg: "#E30A17" }] },
|
||
|
|
kz: { bg: "#00AFCA", marks: [{ l: 16, t: 8, w: 15, h: 15, r: "50%", bg: "#FEC50C" }] },
|
||
|
|
am: { rows: ["#D90012", "#0033A0", "#F2A800"] },
|
||
|
|
ge: { bg: "#FFFFFF", marks: [{ l: 20, t: 0, w: 6, h: 32, bg: "#FF0000" }, { l: 0, t: 13, w: 46, h: 6, bg: "#FF0000" }] },
|
||
|
|
ae: { rows: ["#00732F", "#FFFFFF", "#000000"], marks: [{ l: 0, t: 0, w: 11, h: 32, bg: "#FF0000" }] },
|
||
|
|
sg: { rows: ["#EF3340", "#FFFFFF"], marks: [{ l: 5, t: 3, w: 11, h: 11, r: "50%", bg: "#FFFFFF" }, { l: 9, t: 3, w: 11, h: 11, r: "50%", bg: "#EF3340" }] },
|
||
|
|
jp: { bg: "#FFFFFF", marks: [{ l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#BC002D" }] },
|
||
|
|
kr: { bg: "#FFFFFF", marks: [{ l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#CD2E3A" }, { l: 16, t: 9, w: 14, h: 14, r: "50%", bg: "#0047A0", clip: "polygon(0 50%, 100% 50%, 100% 100%, 0 100%)" }] },
|
||
|
|
ca: { cols: ["#D80621", "#FFFFFF", "#D80621"], sizes: "1fr 2fr 1fr", marks: [{ l: 20, t: 9, w: 7, h: 13, bg: "#D80621", clip: "polygon(50% 0, 100% 100%, 0 100%)" }] },
|
||
|
|
au: { bg: "#00247D", marks: [{ l: 9, t: 0, w: 4, h: 16, bg: "#FFFFFF" }, { l: 0, t: 6, w: 22, h: 4, bg: "#FFFFFF" }, { l: 30, t: 19, w: 7, h: 7, r: "50%", bg: "#FFFFFF" }] },
|
||
|
|
br: { bg: "#009739", marks: [{ l: 9, t: 4, w: 28, h: 24, bg: "#FEDD00", clip: "polygon(50% 0, 100% 50%, 50% 100%, 0 50%)" }, { l: 18, t: 11, w: 10, h: 10, r: "50%", bg: "#012169" }] }
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
flag(code) {
|
||
|
|
const h = React.createElement;
|
||
|
|
const spec = this.flagSpecs()[code] || {};
|
||
|
|
const style = {
|
||
|
|
width: "46px", height: "32px", borderRadius: "6px", overflow: "hidden",
|
||
|
|
display: "grid", border: "1px solid var(--border)", position: "relative", flex: "none"
|
||
|
|
};
|
||
|
|
let bands = [];
|
||
|
|
if (spec.rows) {
|
||
|
|
bands = spec.rows;
|
||
|
|
style.gridTemplateRows = spec.sizes || "repeat(" + bands.length + ", 1fr)";
|
||
|
|
} else if (spec.cols) {
|
||
|
|
bands = spec.cols;
|
||
|
|
style.gridAutoFlow = "column";
|
||
|
|
style.gridTemplateColumns = spec.sizes || "repeat(" + bands.length + ", 1fr)";
|
||
|
|
} else {
|
||
|
|
style.background = spec.bg || "var(--surface-2)";
|
||
|
|
}
|
||
|
|
const kids = bands.map((c, i) => h("span", { key: "b" + i, style: { background: c, display: "block" } }));
|
||
|
|
(spec.marks || []).forEach((m, i) => kids.push(h("span", {
|
||
|
|
key: "m" + i,
|
||
|
|
style: {
|
||
|
|
position: "absolute", left: m.l + "px", top: m.t + "px", width: m.w + "px", height: m.h + "px",
|
||
|
|
borderRadius: m.r || 0, background: m.bg, clipPath: m.clip || "none", display: "block"
|
||
|
|
}
|
||
|
|
})));
|
||
|
|
return h("span", { style: style }, kids);
|
||
|
|
}
|
||
|
|
|
||
|
|
async drawGlobe() {
|
||
|
|
const host = document.getElementById("veilix-globe");
|
||
|
|
if (!host) return;
|
||
|
|
if (!window.d3 || !window.topojson) { setTimeout(() => this.drawGlobe(), 200); return; }
|
||
|
|
const d3 = window.d3;
|
||
|
|
let topo;
|
||
|
|
try {
|
||
|
|
topo = await d3.json("https://cdn.jsdelivr.net/npm/world-atlas@2.0.2/countries-110m.json");
|
||
|
|
} catch (e) { return; }
|
||
|
|
const land = window.topojson.feature(topo, topo.objects.countries);
|
||
|
|
const S = 440, r = S / 2 - 4;
|
||
|
|
const projection = d3.geoOrthographic().rotate([-20, -22]).scale(r).translate([S / 2, S / 2]);
|
||
|
|
const path = d3.geoPath(projection);
|
||
|
|
host.innerHTML = "";
|
||
|
|
const svg = d3.select(host).append("svg")
|
||
|
|
.attr("viewBox", "0 0 " + S + " " + S)
|
||
|
|
.attr("width", "100%").attr("height", "100%")
|
||
|
|
.style("display", "block").style("overflow", "visible");
|
||
|
|
svg.append("circle").attr("cx", S / 2).attr("cy", S / 2).attr("r", r)
|
||
|
|
.attr("fill", "var(--ocean)").attr("stroke", "var(--border)");
|
||
|
|
const graticule = d3.geoGraticule10 ? d3.geoGraticule10() : null;
|
||
|
|
if (graticule) {
|
||
|
|
svg.append("path").datum(graticule).attr("d", path)
|
||
|
|
.attr("fill", "none").attr("stroke", "var(--land-line)")
|
||
|
|
.attr("stroke-width", 0.5).attr("opacity", 0.5);
|
||
|
|
}
|
||
|
|
svg.append("g").selectAll("path").data(land.features).join("path")
|
||
|
|
.attr("d", path).attr("fill", "var(--land)")
|
||
|
|
.attr("stroke", "var(--land-line)").attr("stroke-width", 0.6);
|
||
|
|
}
|
||
|
|
|
||
|
|
componentDidMount() {
|
||
|
|
this.drawGlobe();
|
||
|
|
const mq = window.matchMedia("(prefers-color-scheme: dark)");
|
||
|
|
this.mq = mq;
|
||
|
|
this.onSys = () => this.setState({ sysDark: mq.matches });
|
||
|
|
mq.addEventListener("change", this.onSys);
|
||
|
|
this.onResize = () => {
|
||
|
|
const n = window.innerWidth < 900;
|
||
|
|
const st = window.innerWidth < 700;
|
||
|
|
if (n !== this.state.narrow) this.setState({ narrow: n, menu: false });
|
||
|
|
if (st !== this.state.stacked) this.setState({ stacked: st });
|
||
|
|
};
|
||
|
|
window.addEventListener("resize", this.onResize);
|
||
|
|
this.onResize();
|
||
|
|
let saved = null;
|
||
|
|
try { saved = localStorage.getItem("veilix.theme"); } catch (e) {}
|
||
|
|
let savedLang = null;
|
||
|
|
try { savedLang = localStorage.getItem("veilix.lang"); } catch (e) {}
|
||
|
|
this.setState({ sysDark: mq.matches, theme: saved || this.props.defaultTheme || "light", lang: savedLang || "ru" }, () => this.applyLang());
|
||
|
|
}
|
||
|
|
|
||
|
|
applyLang() {
|
||
|
|
const lang = this.state.lang || "ru";
|
||
|
|
if (window.VEILIX_APPLY_LANG) window.VEILIX_APPLY_LANG(document.body, lang);
|
||
|
|
else setTimeout(() => this.applyLang(), 150);
|
||
|
|
}
|
||
|
|
|
||
|
|
setLang(l) {
|
||
|
|
try { localStorage.setItem("veilix.lang", l); } catch (e) {}
|
||
|
|
this.setState({ lang: l, langMenu: false }, () => this.applyLang());
|
||
|
|
}
|
||
|
|
|
||
|
|
componentWillUnmount() {
|
||
|
|
if (this.mq) this.mq.removeEventListener("change", this.onSys);
|
||
|
|
if (this.onResize) window.removeEventListener("resize", this.onResize);
|
||
|
|
}
|
||
|
|
|
||
|
|
componentDidUpdate() { this.apply(); this.applyLang(); }
|
||
|
|
|
||
|
|
apply() {
|
||
|
|
const theme = this.state.theme || this.props.defaultTheme || "light";
|
||
|
|
const dark = theme === "dark" || (theme === "system" && this.state.sysDark);
|
||
|
|
document.documentElement.setAttribute("data-veilix-theme", dark ? "dark" : "light");
|
||
|
|
}
|
||
|
|
|
||
|
|
setTheme(t) {
|
||
|
|
try { localStorage.setItem("veilix.theme", t); } catch (e) {}
|
||
|
|
this.setState({ theme: t }, () => this.apply());
|
||
|
|
}
|
||
|
|
|
||
|
|
renderVals() {
|
||
|
|
const theme = this.state.theme || this.props.defaultTheme || "light";
|
||
|
|
const mark = this.state.mark || this.props.logoMark || "layers";
|
||
|
|
const marks = ["layers", "veil", "arcs", "aperture"];
|
||
|
|
const sel = "var(--sel)";
|
||
|
|
const v = {
|
||
|
|
countries: this.data().map(d => ({ name: d.country })),
|
||
|
|
pickMonth: () => this.setState({ plan: "month" }),
|
||
|
|
pickYear: () => this.setState({ plan: "year" }),
|
||
|
|
planMonthBg: this.state.plan === "month" ? sel : "transparent",
|
||
|
|
planYearBg: this.state.plan === "year" ? sel : "transparent",
|
||
|
|
planMonthBorder: this.state.plan === "month" ? "var(--accent)" : "var(--border)",
|
||
|
|
planYearBorder: this.state.plan === "year" ? "var(--accent)" : "var(--border)",
|
||
|
|
locHint: this.data()[this.state.loc].ready ? "Свободные серверы есть сейчас" : "Сервер установим под вас за 24 часа",
|
||
|
|
openLead: () => this.setState({ lead: true }),
|
||
|
|
sendLead: () => this.setState({ leadSent: true }),
|
||
|
|
leadOpen: this.state.lead,
|
||
|
|
leadClosed: !this.state.lead,
|
||
|
|
leadButton: this.state.leadSent ? "Заявка отправлена" : "Отправить",
|
||
|
|
curSetup: this.data()[this.state.loc].setup,
|
||
|
|
curMonth: this.data()[this.state.loc].month,
|
||
|
|
items: this.data().map((d, n) => ({
|
||
|
|
country: d.country,
|
||
|
|
city: d.city,
|
||
|
|
flag: this.flag(d.code),
|
||
|
|
setup: d.setup,
|
||
|
|
month: d.month,
|
||
|
|
bg: this.state.loc === n ? sel : "transparent",
|
||
|
|
border: this.state.loc === n ? "var(--accent)" : "var(--border)",
|
||
|
|
pick: () => this.setState({ loc: n })
|
||
|
|
})),
|
||
|
|
logoPickerOff: this.props.showLogoPicker !== true,
|
||
|
|
langMenuOff: !this.state.langMenu,
|
||
|
|
heroAlign: this.state.stacked ? "center" : "end",
|
||
|
|
navOff: this.state.narrow,
|
||
|
|
burgerOff: !this.state.narrow,
|
||
|
|
menuOff: !(this.state.narrow && this.state.menu),
|
||
|
|
toggleMenu: () => this.setState(s => ({ menu: !s.menu, langMenu: false })),
|
||
|
|
closeMenu: () => this.setState({ menu: false }),
|
||
|
|
setRu: () => this.setLang("ru"),
|
||
|
|
setEn: () => this.setLang("en"),
|
||
|
|
langLabel: this.state.lang === "en" ? "EN" : "RU",
|
||
|
|
ruBg: this.state.lang === "en" ? "transparent" : sel,
|
||
|
|
enBg: this.state.lang === "en" ? sel : "transparent",
|
||
|
|
ruInk: this.state.lang === "en" ? "var(--ink-3)" : "var(--ink)",
|
||
|
|
enInk: this.state.lang === "en" ? "var(--ink)" : "var(--ink-3)",
|
||
|
|
ruCheck: this.state.lang === "en" ? "" : "✓",
|
||
|
|
enCheck: this.state.lang === "en" ? "✓" : "",
|
||
|
|
toggleLangMenu: () => this.setState(s => ({ langMenu: !s.langMenu })),
|
||
|
|
setLight: () => this.setTheme("light"),
|
||
|
|
setDark: () => this.setTheme("dark"),
|
||
|
|
setSystem: () => this.setTheme("system"),
|
||
|
|
lightBg: theme === "light" ? sel : "transparent",
|
||
|
|
darkBg: theme === "dark" ? sel : "transparent",
|
||
|
|
systemBg: theme === "system" ? sel : "transparent",
|
||
|
|
lightInk: theme === "light" ? "var(--ink)" : "var(--ink-3)",
|
||
|
|
darkInk: theme === "dark" ? "var(--ink)" : "var(--ink-3)",
|
||
|
|
systemInk: theme === "system" ? "var(--ink)" : "var(--ink-3)"
|
||
|
|
};
|
||
|
|
for (let i = 0; i < 5; i++) {
|
||
|
|
v["loc" + i + "Bg"] = this.state.loc === i ? sel : "transparent";
|
||
|
|
v["loc" + i + "Dot"] = this.state.loc === i ? "var(--accent)" : "var(--ink-3)";
|
||
|
|
v["pickLoc" + i] = () => this.setState({ loc: i });
|
||
|
|
}
|
||
|
|
for (let i = 0; i < 6; i++) {
|
||
|
|
v["faq" + i] = () => this.setState(s => ({ faq: s.faq === i ? -1 : i }));
|
||
|
|
v["faq" + i + "Off"] = this.state.faq !== i;
|
||
|
|
v["faq" + i + "Rot"] = this.state.faq === i ? "rotate(-135deg) translateY(2px)" : "rotate(45deg) translateY(-2px)";
|
||
|
|
}
|
||
|
|
marks.forEach((name, idx) => {
|
||
|
|
const n = idx + 1;
|
||
|
|
v["mark" + n + "Off"] = mark !== name;
|
||
|
|
v["mark" + n + "Bg"] = mark === name ? sel : "transparent";
|
||
|
|
v["pickMark" + n] = () => this.setState({ mark: name });
|
||
|
|
});
|
||
|
|
return v;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|