/* WPNSU-style landing for v2-vpn.ru */
html {
    scroll-behavior: smooth;
}

:root {
    --wpn-bg: #0b0b0b;
    --wpn-bg-soft: #111111;
    --wpn-card: rgba(255, 255, 255, 0.04);
    --wpn-card-border: rgba(255, 255, 255, 0.08);
    --wpn-text: #f8fafc;
    --wpn-muted: #94a3b8;
    --wpn-accent: #ff8c00;
    --wpn-accent-2: #e67e22;
    --wpn-green: #22c55e;
    --wpn-radius: 1rem;
    --wpn-container: 72rem;
}

:root[data-theme='light'] {
    --wpn-bg: #f8fafc;
    --wpn-bg-soft: #ffffff;
    --wpn-card: #ffffff;
    --wpn-card-border: rgba(15, 23, 42, 0.08);
    --wpn-text: #0f172a;
    --wpn-muted: #64748b;
}

.vp-site-shell.wpnsu-landing {
    background: var(--wpn-bg);
    color: var(--wpn-text);
}

body:has(.wpnsu-landing) {
    background: var(--wpn-bg) !important;
    background-attachment: scroll !important;
}

.wpnsu-landing header,
.wpnsu-landing .tw-bg-white,
.wpnsu-landing header.tw-bg-white {
    background: var(--wpn-bg) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wpn-card-border);
}

:root[data-theme='light'] .wpnsu-landing .tw-bg-white,
:root[data-theme='light'] .wpnsu-landing header.tw-bg-white {
    background: rgba(255, 255, 255, 0.92) !important;
}

.wpnsu-landing #site-main {
    padding-top: 5rem;
}

@media (min-width: 1024px) {
    .wpnsu-landing #site-main {
        padding-top: 5.5rem;
    }
}

.wpnsu-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wpn-muted);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.wpnsu-nav-link:hover {
    color: var(--wpn-text);
    background: rgba(255, 140, 0, 0.1);
}

.wpnsu-header-actions .wpnsu-btn-login {
    border: 1px solid var(--wpn-card-border);
    background: transparent;
    color: var(--wpn-text);
}

.site-logo-link {
    text-decoration: none;
}

.site-logo {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.site-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--wpn-text);
}

@media (min-width: 1024px) {
    .site-logo {
        width: 3rem;
        height: 3rem;
    }

    .site-logo-text {
        font-size: 1.25rem;
    }
}

:root[data-theme='light'] .site-logo-text {
    color: #0f172a;
}

.wpnsu-header-actions .wpnsu-btn-connect {
    background: linear-gradient(145deg, var(--wpn-accent) 0%, var(--wpn-accent-2) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.38);
}

@media (min-width: 1024px) {
    .wpnsu-landing header .tw-relative.tw-flex.tw-items-center.tw-justify-between {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 1rem;
    }

    .wpnsu-landing #burger-menu {
        position: static !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        justify-self: center;
    }

    .wpnsu-landing #burger-menu-chunk {
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        height: auto !important;
        width: auto !important;
        box-shadow: none !important;
    }

    .wpnsu-landing #burger-menu nav ul {
        flex-direction: row !important;
        align-items: center;
        gap: 0.25rem;
    }

    .wpnsu-landing #burger-menu nav li {
        margin-bottom: 0 !important;
        margin-right: 0 !important;
    }
}

.wpnsu-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem 4rem;
}

@media (min-width: 1024px) {
    .wpnsu-hero {
        padding: 5rem 1rem 6rem;
    }
}

.wpnsu-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255, 140, 0, 0.22), transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 20%, rgba(34, 197, 94, 0.08), transparent 50%);
}

.wpnsu-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--wpn-container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpnsu-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 40rem;
}

.wpnsu-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--wpn-green);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    margin-bottom: 1.25rem;
}

.wpnsu-hero__badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--wpn-green);
    box-shadow: 0 0 8px var(--wpn-green);
    animation: wpnsu-pulse 2s ease-in-out infinite;
}

@keyframes wpnsu-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.wpnsu-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--wpn-text);
}

.wpnsu-hero__desc {
    margin: 0 0 1.75rem;
    max-width: 32rem;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--wpn-muted);
}

.wpnsu-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.wpnsu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wpnsu-btn:hover {
    transform: translateY(-1px);
}

.wpnsu-btn--primary:hover,
.wpnsu-header-actions .wpnsu-btn-connect:hover {
    box-shadow: 0 12px 32px rgba(255, 140, 0, 0.45);
    filter: brightness(1.06);
}

.wpnsu-btn--primary {
    background: linear-gradient(145deg, var(--wpn-accent) 0%, var(--wpn-accent-2) 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.38);
}

.wpnsu-btn--secondary {
    background: var(--wpn-card);
    color: var(--wpn-text);
    border: 1px solid var(--wpn-card-border);
}

.wpnsu-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpnsu-hero__visual img {
    width: 100%;
    max-width: 38rem;
    height: auto;
    border-radius: 1.25rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--wpn-card-border);
}

.wpnsu-hero__visual .hero-servers-img {
    aspect-ratio: 800 / 420;
    object-fit: contain;
}

.wpnsu-section {
    padding: 4rem 1rem;
}

.wpnsu-section__inner {
    max-width: var(--wpn-container);
    margin: 0 auto;
}

.wpnsu-section__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wpn-accent);
    text-align: center;
}

.wpnsu-section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--wpn-text);
}

.wpnsu-section__sub {
    margin: 0 auto 2.5rem;
    max-width: 36rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--wpn-muted);
}

.wpnsu-features__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .wpnsu-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .wpnsu-features__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.wpnsu-feature-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--wpn-radius);
    background: var(--wpn-card);
    border: 1px solid var(--wpn-card-border);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.wpnsu-feature-card:hover {
    border-color: rgba(255, 140, 0, 0.35);
    transform: translateY(-2px);
}

.wpnsu-feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 140, 0, 0.12);
    color: var(--wpn-accent);
    font-size: 1.25rem;
}

.wpnsu-feature-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--wpn-text);
}

.wpnsu-feature-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--wpn-muted);
}

.wpnsu-locations__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .wpnsu-locations__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .wpnsu-locations__grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.wpnsu-location-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: var(--wpn-card);
    border: 1px solid var(--wpn-card-border);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--wpn-text);
}

.wpnsu-location-chip__flag {
    font-size: 1.125rem;
    line-height: 1;
}

#tariffs.wpnsu-tariffs {
    padding: 4rem 1rem;
}

#tariffs .home-tariffs-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

#tariffs .home-tariffs-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--wpn-text);
    margin: 0 0 0.5rem;
    text-align: center;
    width: 100%;
}

#tariffs .home-tariffs-section-sub {
    color: var(--wpn-muted);
    margin: 0 auto 2.5rem;
    max-width: 36rem;
    text-align: center;
    width: 100%;
}

.wpnsu-landing .home-page-tariffs {
    max-width: var(--wpn-container);
    margin: 0 auto;
}

.wpnsu-landing .tw-text-dark-600\/60,
.wpnsu-landing .tw-text-dark-700 {
    color: var(--wpn-muted) !important;
}

.wpnsu-landing .tw-bg-light-400 {
    background: var(--wpn-bg-soft) !important;
    border: 1px solid var(--wpn-card-border);
}

.wpnsu-landing footer {
    background: var(--wpn-bg) !important;
    border-top: 1px solid var(--wpn-card-border);
    box-shadow: none !important;
}

.wpnsu-landing footer::before {
    display: none !important;
}

.wpnsu-landing footer .tw-rounded-3xl.tw-mt-9 {
    background: var(--wpn-bg) !important;
    border: 1px solid var(--wpn-card-border) !important;
    box-shadow: none !important;
}

.wpnsu-landing footer .tw-rounded-3xl.tw-mt-9 .tw-absolute.tw-inset-0 {
    display: none !important;
}

.wpnsu-landing #site-main,
.wpnsu-landing .wpnsu-section,
.wpnsu-landing .wpnsu-hero {
    background: var(--wpn-bg);
}
