/* Netrunner VPN — киберпанк, неон, мобильно-первая вёрстка */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #07080f;
    --bg-card: #11141d;
    --bg-elevated: #1a1f2e;
    --border: #1f2638;
    --border-hover: #2a3550;
    --text: #f0f4ff;
    --text-dim: #a0a8c0;
    --text-muted: #6b7390;
    --cyan: #00e5ff;
    --magenta: #ff2e9c;
    --purple: #a855f7;
    --neon-cyan: 0 0 20px rgba(0, 229, 255, 0.5);
    --neon-magenta: 0 0 20px rgba(255, 46, 156, 0.5);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(255, 46, 156, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 229, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Сетка-фон, как на голографическом UI */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: var(--magenta); text-shadow: 0 0 8px rgba(255, 46, 156, 0.6); }

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header — HUD style */
header {
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    position: sticky;
    top: 0;
    background: rgba(7, 8, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10;
    font-family: 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.6) 30%, rgba(255, 46, 156, 0.6) 70%, transparent 100%);
    z-index: 1;
}

.hud {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.hud-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4ade80;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.hud-status-text {
    transform: translateY(1px);
}

.hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80, 0 0 14px rgba(74, 222, 128, 0.6);
    animation: hud-pulse 1.6s ease-in-out infinite;
}

@keyframes hud-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hud-sep {
    color: var(--text-muted);
    opacity: 0.5;
    font-weight: 300;
}

.hud-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.hud-logo img {
    width: 52px;
    height: 52px;
    border-radius: 9px;
    box-shadow: 0 0 12px rgba(255, 46, 156, 0.4), 0 0 24px rgba(0, 229, 255, 0.2);
    flex-shrink: 0;
}

.hud-name {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, var(--magenta) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hud-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--cyan);
    margin-left: 3px;
    vertical-align: middle;
    animation: hud-blink 1s step-end infinite;
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.8);
    transform: translateY(-1px);
}

@keyframes hud-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hud-meta {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hud-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.hud-cta:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    text-shadow: none;
}

@media (max-width: 640px) {
    .hud { gap: 10px; font-size: 11px; }
    .hud-meta { display: none; }
    .hud-status { font-size: 10px; letter-spacing: 1px; }
    .hud-name { font-size: 12px; }
    .hud-logo img { width: 32px; height: 32px; }
    .hud-cta { padding: 10px 16px; font-size: 11px; min-width: 70px; justify-content: center; }
}

@media (max-width: 420px) {
    .hud-status-text { display: none; }
}

/* Hero */
.hero {
    padding: 60px 0 42px;
    text-align: center;
    position: relative;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 28px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 40px rgba(255, 46, 156, 0.4),
        0 0 80px rgba(0, 229, 255, 0.25),
        0 0 120px rgba(168, 85, 247, 0.15);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 40px rgba(255, 46, 156, 0.4),
            0 0 80px rgba(0, 229, 255, 0.25),
            0 0 120px rgba(168, 85, 247, 0.15);
    }
    50% {
        box-shadow:
            0 0 60px rgba(255, 46, 156, 0.55),
            0 0 100px rgba(0, 229, 255, 0.35),
            0 0 140px rgba(168, 85, 247, 0.2);
    }
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid;
}

.tag-cyan { color: var(--cyan); border-color: rgba(0, 229, 255, 0.4); background: rgba(0, 229, 255, 0.05); }
.tag-magenta { color: var(--magenta); border-color: rgba(255, 46, 156, 0.4); background: rgba(255, 46, 156, 0.05); }

.hero h1 {
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h1 .gradient {
    background: linear-gradient(90deg, var(--magenta) 0%, var(--purple) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 32px;
}

/* === Главная CTA-кнопка — циан-обводка + UPPERCASE моноспейс === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    font-family: 'SF Mono', Menlo, Consolas, 'Courier New', monospace;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

/* Сдвигаем только надпись, стрелку оставляем на исходной позиции */
.btn .btn-text {
    transform: translateY(1px);
}

.btn:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    text-shadow: none;
    transform: translateY(-1px);
}

/* === Старый стиль — gradient маджента→фиолет ===
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    transition: transform 0.15s, box-shadow 0.2s;
    font-size: 16px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(255, 46, 156, 0.35);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 46, 156, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
    color: #fff;
}
*/

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    color: var(--cyan);
}

/* Section */
.section {
    padding: 70px 0;
    position: relative;
}

.section + .section { border-top: 1px solid var(--border); }

.section-label {
    text-align: center;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.section h2 .accent,
.cta h2 .accent {
    background: linear-gradient(90deg, var(--magenta) 0%, var(--purple) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Plans */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.plan {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 20, 29, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.plan:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}

.plan.featured {
    border-color: rgba(255, 46, 156, 0.5);
    background: linear-gradient(180deg, rgba(255, 46, 156, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: 0 0 30px rgba(255, 46, 156, 0.15);
}

.plan.featured:hover {
    box-shadow: 0 8px 40px rgba(255, 46, 156, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--magenta), var(--purple));
    color: #fff;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(255, 46, 156, 0.4);
}

.plan-name {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 600;
}

.plan-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1;
}

.plan-price .currency {
    font-size: 24px;
    color: var(--text-dim);
    font-weight: 600;
}

.plan-discount {
    color: var(--magenta);
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.plan-period {
    color: var(--text-muted);
    font-size: 13px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 18px;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
}

/* === Эффект как у .plan (см. секцию Plans) === */
.step {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 20, 29, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}

/* === Старый эффект — неоновая полоска сверху ===
.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    opacity: 0;
    transition: opacity 0.3s;
}

.step:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.step:hover::before { opacity: 1; }
*/

.step-num {
    color: var(--cyan);
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.step h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
}

.step p {
    color: var(--text-dim);
    font-size: 14px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
}

.features-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .features-2col { grid-template-columns: 1fr; }
}

/* === Эффект как у .plan (см. секцию Plans) === */
.feature {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 20, 29, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}

/* === Старый эффект — неоновая полоска сверху ===
.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature:hover::before { opacity: 1; }
*/

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 46, 156, 0.1));
    border: 1px solid var(--border);
    border-radius: 10px;
}

.feature h3 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}

.feature p {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.5;
}

/* CTA */
.cta {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.cta h2 {
    font-size: clamp(26px, 4vw, 34px);
    margin-bottom: 12px;
    font-weight: 700;
}

.cta p { color: var(--text-dim); margin-bottom: 28px; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    color: var(--text-muted);
    font-size: 13px;
    background: rgba(7, 8, 15, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 28px;
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-grid h4 {
    color: var(--cyan);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-grid p, .footer-grid li {
    margin-bottom: 6px;
    color: var(--text-dim);
}

.footer-grid ul { list-style: none; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    text-align: center;
    color: var(--text-muted);
}

/* Documents */
.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 20px 60px;
    position: relative;
    z-index: 1;
}

.doc h1 {
    font-size: 30px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--magenta), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.doc .subtitle {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 14px;
}

.doc h2 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--text);
    font-weight: 700;
    padding-left: 12px;
    border-left: 3px solid var(--magenta);
}

.doc h3 {
    font-size: 16px;
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--text);
}

.doc p, .doc li {
    margin-bottom: 12px;
    color: var(--text-dim);
}

.doc ol, .doc ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.doc strong { color: var(--text); }

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-dim);
}

.back-link:hover { color: var(--cyan); }

.requisites {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 18px 0;
    font-size: 14px;
}

.requisites p { margin-bottom: 4px; }
