.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Landing header */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.86rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}
.header-cta--primary {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.header-cta--primary:hover {
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}
.header-cta--secondary {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
}
.header-cta--secondary:hover {
    border-color: #cbd5f5;
    color: #0f172a;
}
.header-cta--ghost {
    background: transparent;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.25);
}
.header-cta--ghost:hover {
    border-color: rgba(15, 23, 42, 0.45);
    color: #0f172a;
}
.header-cta[disabled],
.header-cta:disabled {
    opacity: 0.6;
    pointer-events: none;
}
@media (min-width: 992px) {
    .menu-area .header-action {
        margin-right: 0;
    }
}
.menu-area .header-action--auth {
    display: none !important;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .menu-area .header-action--auth {
        display: flex !important;
        margin-left: 0.75rem;
    }
}
.menu-area .header-action > ul {
    display: flex;
    gap: 0.45rem;
    margin: 0;
}
.menu-area .header-action > ul > li {
    margin: 0;
}
.menu-area .header-action .header-btn {
    display: inline-flex !important;
    align-items: center;
    min-width: 0;
}
.menu-area .header-action .header-btn form {
    margin: 0;
}
.menu-area .header-action .header-btn .header-cta {
    width: auto;
    border-radius: 999px;
    font-size: 0.72rem;
    padding: 0.22rem 0.7rem;
}
.menu-area .header-action .header-btn .header-cta.header-cta--ghost {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.2);
    color: #0f172a;
}
.menu-area .header-action .header-btn .header-cta.header-cta--ghost:hover {
    border-color: rgba(15, 23, 42, 0.35);
    background: rgba(15, 23, 42, 0.06);
}
.menu-area .header-action .header-btn .header-cta.header-cta--primary {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.menu-area .header-action .header-btn .header-cta.header-cta--secondary {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.15);
}
.menu-area,
#sticky-header.menu-area {
    padding: 0.05rem 0;
}
.menu-area .logo img,
header .logo img {
    max-width: none !important;
    height: auto;
    width: clamp(90px, 7.5vw, 170px) !important;
}
@media (max-width: 991px) {
    .menu-area .logo img,
    header .logo img {
        width: 190px !important;
    }
}
.menu-area .menu-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    flex-wrap: nowrap;
}
.menu-area .main-menu {
    display: none;
}
@media (min-width: 992px) {
    .menu-area .main-menu {
        display: flex;
        align-items: center;
        margin-left: 0.2rem;
        flex: 1 1 auto;
        min-width: 0;
    }
    .menu-area .main-menu .navigation {
        display: flex;
        align-items: center;
        gap: 0.12rem;
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: nowrap;
        min-width: 0;
        justify-content: flex-start;
    }
    .menu-area .main-menu .navigation li {
        list-style: none;
    }
    .menu-area .main-menu .navigation a {
        font-weight: 600;
        font-size: 0.78rem;
        letter-spacing: 0.005em;
        color: #0f172a;
        text-transform: none;
        padding: 0.1rem 0.3rem;
        border-radius: 999px;
        border: 1px solid transparent;
        position: relative;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    .menu-area .main-menu .navigation a:hover,
    .menu-area .main-menu .navigation a:focus-visible {
        color: #0f172a;
        border-color: rgba(15, 23, 42, 0.35);
        background: rgba(15, 23, 42, 0.05);
    }
}

/* Landing sections */
.banner-bg {
    padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
    min-height: auto;
    margin-bottom: 10px;
}
@media (max-width: 991px) {
    .banner-bg {
        padding: 70px 0 90px;
    }
}
@media (max-width: 575px) {
    .banner-bg {
        padding: 60px 0 80px;
    }
}
.hero-metrics {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.hero-metrics__item {
    min-width: 140px;
}
.hero-metrics__value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}
.hero-metrics__label {
    color: #475569;
    font-size: 0.95rem;
}
.section-title .sub-title {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    color: #0f172a;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0.4rem;
}
.section-title .title {
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: #475569;
    font-weight: 500;
    text-transform: none;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    background: #0b1120;
    color: #fff;
    margin: 0.25rem 0.25rem 0 0;
    gap: 0.35rem;
}
.chip a {
    color: inherit;
}
.tariff-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}
.tariff-card__price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}
.tariff-card__price small {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}
.feature-tile {
    background: #0b1120;
    border-radius: 20px;
    padding: 1.8rem;
    height: 100%;
    color: #fff;
    box-shadow: 0 20px 45px rgba(11, 13, 32, 0.35);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.step-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}
.download-card {
    background: transparent;
    border-radius: 20px;
    padding: 1.5rem;
    color: #0f172a;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: none;
}
.download-card .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 999px;
}
.faq-item {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.badge-soft {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
    font-weight: 600;
}
.badge-soft-success {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.payment-icons-group {
    margin-top: 1.75rem;
}
.payment-icons-group h5 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}
.payment-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.payment-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    font-weight: 600;
    color: #0f172a;
}
.payment-icon img {
    height: 28px;
    width: auto;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    font-weight: 600;
    color: #0f172a;
}
.trust-badge img {
    height: 28px;
    width: auto;
}
.server-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.server-card__head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.server-card__flag {
    font-size: 1.5rem;
}
.server-card__title h5 {
    margin: 0;
    color: #0f172a;
}
.server-card__location {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.server-card__location i {
    color: #94a3b8;
}
.server-status-pill {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}
.server-status-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.server-status-pill.online {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}
.server-status-pill.pending {
    background: rgba(250, 204, 21, 0.2);
    color: #92400e;
}
.server-status-pill.offline {
    background: rgba(239, 68, 68, 0.15);
    color: #991b1b;
}
.server-recommend {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.server-stats {
    display: flex;
    gap: 0.6rem;
}
.server-stats__item {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.server-stats__icon {
    color: #94a3b8;
}
.server-stats span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}
.server-stats strong {
    font-size: 1.05rem;
    color: #0f172a;
}
.server-meter-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.server-meter {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(#22c55e calc(var(--load, 15) * 1%), #e2e8f0 0);
    position: relative;
    animation: pulseGlow 4s ease-in-out infinite;
}
.server-meter::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: #fff;
}
.server-meter__value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}
.server-meter__meta {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #475569;
}
.server-card__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #475569;
}
.server-card__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.server-card__meta i {
    color: #94a3b8;
}
.server-card__extra {
    margin-top: auto;
    font-size: 0.85rem;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* VPN dashboard */
.vpn-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.vpn-dashboard .dashboard-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem;
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent),
        linear-gradient(135deg, #0f172a, #312e81 70%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.3);
}
.vpn-dashboard .dashboard-hero__content {
    flex: 1 1 360px;
}
.vpn-dashboard .dashboard-hero__title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.vpn-dashboard .dashboard-hero__title h1 {
    margin: 0;
    font-size: 2rem;
}
.vpn-dashboard .dashboard-hero__description {
    margin: 1rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}
.vpn-dashboard .dashboard-hero .status-pill {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.vpn-dashboard .dashboard-hero .status-pill.pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.4);
}
.vpn-dashboard .dashboard-hero .status-pill.failed {
    background: rgba(248, 113, 113, 0.15);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.35);
}
.vpn-dashboard .dashboard-hero__actions {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.vpn-dashboard .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.vpn-dashboard .hero-actions .btn-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
}
.vpn-dashboard .hero-actions .btn-link:hover {
    color: #fff;
}
.vpn-dashboard .dashboard-hero__actions .muted {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.vpn-dashboard .hero-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 0 0 320px;
}
.vpn-dashboard .hero-meta li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}
.vpn-dashboard .hero-meta strong {
    font-size: 1.2rem;
    color: #fff;
}
.vpn-dashboard .hero-meta span {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}
.vpn-dashboard .hero-meta small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 767px) {
    .vpn-dashboard .dashboard-hero {
        padding: 1.5rem;
    }
    .vpn-dashboard .hero-meta {
        flex: 1 1 auto;
        margin-top: 1rem;
    }
    .vpn-dashboard .dashboard-hero__title h1 {
        font-size: 1.6rem;
    }
}
.vpn-dashboard section {
    width: 100%;
}
.vpn-dashboard .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.vpn-dashboard .badge--light {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}
.vpn-dashboard .onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.25rem 0 1.5rem;
}
.vpn-dashboard .onboarding-step {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}
.vpn-dashboard .onboarding-step:last-child {
    border-bottom: none;
}
.vpn-dashboard .step-index {
    font-weight: 700;
    font-size: 1rem;
    color: #6366f1;
}
.vpn-dashboard .panel-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}
.vpn-dashboard .muted {
    color: #64748b;
    font-size: 0.92rem;
    margin: 0;
}
.vpn-dashboard .welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.vpn-dashboard .onboarding-panel .onboarding-card {
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}
.vpn-dashboard .store-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.vpn-dashboard .store-badges a {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    font-weight: 600;
    color: #0f172a;
}
.vpn-dashboard .onboarding-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
}
.vpn-dashboard .onboarding-card {
    grid-column: span 8;
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}
.vpn-dashboard .status-stack {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.vpn-dashboard .status-card {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
@media (max-width: 991px) {
    .vpn-dashboard .onboarding-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .vpn-dashboard .onboarding-card,
    .vpn-dashboard .status-stack {
        grid-column: span 6;
    }
}
@media (max-width: 640px) {
    .vpn-dashboard .onboarding-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .vpn-dashboard .onboarding-card,
    .vpn-dashboard .status-stack {
        grid-column: span 1;
    }
}
.vpn-dashboard .metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 991px) {
    .vpn-dashboard .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .vpn-dashboard .metric-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.vpn-dashboard .metric-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
.vpn-dashboard .metric-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}
.vpn-dashboard .metric-card h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #0f172a;
}
.vpn-dashboard .metric-meta {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}
.vpn-dashboard .traffic-panel {
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
}
.vpn-dashboard .traffic-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: 1.25rem;
}
.vpn-dashboard .traffic-bar {
    position: relative;
    min-height: 110px;
    border-radius: 16px 16px 10px 10px;
    padding-bottom: 1.75rem;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
    overflow: hidden;
}
.vpn-dashboard .traffic-bar__fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.75rem;
    height: var(--bar-height, 60%);
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.2));
    transition: height 0.3s ease;
}
.vpn-dashboard .traffic-bar span {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f172a;
    z-index: 2;
}
.vpn-dashboard .traffic-bar small {
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #64748b;
    z-index: 2;
}
.vpn-dashboard .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.vpn-dashboard .panel-head h3 {
    margin: 0;
    color: #0f172a;
}
.vpn-dashboard .traffic-filters {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.vpn-dashboard .chip {
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    color: #475569;
}
.vpn-dashboard .chip--light {
    border-color: rgba(148, 163, 184, 0.4);
}
.vpn-dashboard .chip.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.vpn-dashboard .chip.inactive {
    background: rgba(148, 163, 184, 0.15);
    color: #475569;
    border-color: rgba(148, 163, 184, 0.35);
}
.vpn-dashboard .traffic-placeholder {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 20px;
    padding: 2.25rem;
    text-align: center;
    color: #64748b;
    margin-top: 1.25rem;
}
.vpn-dashboard .traffic-summary {
    margin-top: 0.35rem;
}
.vpn-dashboard .traffic-summary h4 {
    margin: 0.25rem 0 0;
    font-size: 1.75rem;
    color: #0f172a;
}
.vpn-dashboard .status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.vpn-dashboard .server-status-grid,
.vpn-dashboard .dashboard-panel-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.vpn-dashboard .server-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.vpn-dashboard .panel {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}
.vpn-dashboard .panel--soft {
    background: #f8fafc;
    border-style: dashed;
    box-shadow: none;
}
.vpn-dashboard .dashboard-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.vpn-dashboard .panel--wide {
    grid-column: span 2;
}
@media (max-width: 991px) {
    .vpn-dashboard .panel--wide {
        grid-column: span 1;
    }
}
.vpn-dashboard .panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.vpn-dashboard .panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: #0f172a;
}
.vpn-dashboard .panel-list span {
    font-size: 0.85rem;
    color: #94a3b8;
}
.vpn-dashboard .panel-list strong {
    display: block;
    font-size: 1rem;
    color: #0f172a;
}
.vpn-dashboard .session-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.vpn-dashboard .session-item {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.vpn-dashboard .session-item.is-current {
    border-color: #4338ca;
    box-shadow: 0 0 0 2px rgba(67, 56, 202, 0.12);
}
.vpn-dashboard .session-item strong {
    color: #0f172a;
    font-size: 1rem;
}
.vpn-dashboard .session-item span {
    color: #64748b;
    font-size: 0.85rem;
}
.vpn-dashboard .session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.vpn-dashboard .session-actions {
    display: flex;
    justify-content: flex-end;
}
.vpn-dashboard .panel-outline {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.75rem 1.5rem;
    background: transparent;
    font-weight: 600;
    color: #0f172a;
}
.vpn-dashboard .btn-primary,
.vpn-dashboard .btn-outline {
    border-radius: 16px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}
.vpn-dashboard .btn-primary {
    background: linear-gradient(120deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.4);
}
.vpn-dashboard .btn-primary:disabled,
.vpn-dashboard .panel-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
.vpn-dashboard .btn-outline {
    border: 1px solid rgba(15, 23, 42, 0.2);
    color: #0f172a;
    background: #fff;
}
.vpn-dashboard .btn-link {
    display: inline-flex;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.vpn-dashboard .instruction-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.vpn-dashboard .instruction-list a {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    display: flex;
    justify-content: space-between;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}
.vpn-dashboard .store-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.vpn-dashboard .store-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 0.85rem;
    text-align: center;
    background: #fff;
}
.vpn-dashboard .store-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0.5rem auto;
}
.vpn-dashboard .store-card a {
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.vpn-dashboard .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.vpn-dashboard .step {
    display: flex;
    gap: 0.8rem;
}
.vpn-dashboard .support-callout {
    background: #0f172a;
    color: #fff;
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}
.vpn-dashboard .callout-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.vpn-dashboard .callout-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}
.vpn-dashboard .page-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.vpn-dashboard .page-head h1 {
    margin: 0;
    font-size: 2rem;
    color: #0f172a;
}
.vpn-dashboard .page-head p {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    max-width: 640px;
}
.vpn-dashboard .settings-grid,
.vpn-dashboard .support-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.vpn-dashboard .support-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}
@media (max-width: 991px) {
    .vpn-dashboard .support-layout {
        grid-template-columns: 1fr;
    }
}
.vpn-dashboard .form-card {
    gap: 1rem;
}
.vpn-dashboard .form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vpn-dashboard .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.vpn-dashboard .form-field label {
    font-weight: 600;
    color: #0f172a;
}
.vpn-dashboard .form-input,
.vpn-dashboard .form-field select,
.vpn-dashboard .form-textarea {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vpn-dashboard .form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.4;
}
.vpn-dashboard .form-input:focus,
.vpn-dashboard .form-field select:focus,
.vpn-dashboard .form-textarea:focus {
    outline: none;
    border-color: #4338ca;
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.15);
}
.vpn-dashboard .form-input.is-invalid,
.vpn-dashboard .form-field select.is-invalid,
.vpn-dashboard .form-textarea.is-invalid {
    border-color: #dc2626;
}
.vpn-dashboard .form-helper {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.vpn-dashboard .form-helper--error {
    color: #b91c1c;
}
.vpn-dashboard .form-helper--muted {
    margin-top: 0.75rem;
}
.vpn-dashboard .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.vpn-dashboard .inline-form {
    display: inline;
}
.vpn-dashboard .inline-form .btn-link {
    padding-left: 0.35rem;
}
.vpn-dashboard .support-form {
    padding: 1.5rem;
}
.vpn-dashboard .support-card {
    padding: 1.5rem;
}
.vpn-dashboard .support-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.vpn-dashboard .support-list span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.vpn-dashboard .support-list strong {
    display: block;
    font-size: 1rem;
    color: #0f172a;
}
.vpn-dashboard .tariffs-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 2rem;
}
.vpn-dashboard .hero-payments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 240px;
}
.vpn-dashboard .hero-payments__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.vpn-dashboard .tariffs-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .vpn-dashboard .tariffs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    .vpn-dashboard .tariffs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.vpn-dashboard .tariff-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    aspect-ratio: 1 / 1.05;
    min-height: 320px;
}
.vpn-dashboard .tariff-card__top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.vpn-dashboard .tariff-card__labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.vpn-dashboard .tariff-card__top h3 {
    margin: 0;
}
.vpn-dashboard .tariff-card__top p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}
.vpn-dashboard .tariff-price {
    font-size: 1.7rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    color: #0f172a;
}
.vpn-dashboard .tariff-price small {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}
.vpn-dashboard .tariff-card__middle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.vpn-dashboard .tariff-select {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 14px;
    font-size: 0.95rem;
    background: #fff;
}
.vpn-dashboard .tariff-summary {
    background: rgba(99, 102, 241, 0.05);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}
.vpn-dashboard .tariff-summary span {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}
.vpn-dashboard .tariff-summary strong {
    font-size: 0.95rem;
    color: #0f172a;
}
.vpn-dashboard .tariff-card__bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.vpn-dashboard .tariff-card__bottom .btn,
.vpn-dashboard .tariff-card__bottom .btn-outline,
.vpn-dashboard .tariff-card__bottom .btn-outline-dark,
.vpn-dashboard .tariff-card__bottom .btn-primary {
    width: 100%;
    border-radius: 14px;
    min-height: 42px;
}
.vpn-dashboard .tariff-card__bottom .btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.vpn-dashboard .tariff-card__bottom .btn-link {
    margin-top: 0.15rem;
}
.vpn-dashboard .payment-methods {
    margin-top: 1.5rem;
}
.vpn-dashboard .payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.vpn-dashboard .pay-card {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
.vpn-dashboard .pay-card--soon {
    opacity: 0.75;
}
.vpn-dashboard .pay-card__icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.vpn-dashboard .pay-card__icons img {
    height: 24px;
}
.vpn-dashboard .note {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}
.vpn-dashboard .btn-outline-dark {
    border: 1px solid #0f172a;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.vpn-dashboard .btn-outline-dark--soon {
    border-color: #e5e7eb;
    color: #6b7280;
}
.vpn-dashboard .card-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.vpn-dashboard .card-icons img {
    height: 18px;
}
.vpn-dashboard .payment-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}
.vpn-dashboard .payment-modal.show {
    display: flex;
}
.vpn-dashboard .payment-modal__dialog {
    background: #fff;
    border-radius: 24px;
    max-width: 760px;
    width: 100%;
    padding: 2rem;
    position: relative;
}
.vpn-dashboard .payment-modal__dialog--narrow {
    max-width: 520px;
}
.vpn-dashboard .payment-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: 0;
    font-size: 1.5rem;
    color: #94a3b8;
}
.vpn-dashboard .modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.vpn-dashboard .status-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.vpn-dashboard .status-pill.pending {
    background: #fff7ed;
    color: #c2410c;
}
.vpn-dashboard .status-pill.confirmed {
    background: #ecfdf5;
    color: #15803d;
}
.vpn-dashboard .status-pill.failed {
    background: #fee2e2;
    color: #b91c1c;
}
.vpn-dashboard .payment-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.vpn-dashboard .payment-field {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
}
.vpn-dashboard .payment-field code {
    display: block;
    font-weight: 600;
    word-break: break-all;
}
.vpn-dashboard .payment-field button {
    margin-top: 0.5rem;
    border: 1px solid #0f172a;
    background: transparent;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
}
.vpn-dashboard .payment-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.vpn-dashboard .qr-box {
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    text-align: center;
    padding: 1rem;
}
.vpn-dashboard .status-description {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem;
}
.vpn-dashboard .payment-modal .alert {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
}
.vpn-dashboard .payment-modal .alert.error {
    background: #fee2e2;
    color: #b91c1c;
}
.vpn-dashboard .payment-modal .alert.success {
    background: #ecfdf5;
    color: #15803d;
}
.vpn-dashboard .payment-modal .alert.info {
    background: #e0f2fe;
    color: #0c4a6e;
}
.vpn-dashboard .tbank-instructions {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
}
.vpn-dashboard .chip--danger {
    background: rgba(248, 113, 113, 0.2);
    color: #b91c1c;
}
.vpn-dashboard .tag {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.vpn-dashboard .tag--accent {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}
@media (max-width: 768px) {
    .vpn-dashboard .tariffs-hero {
        flex-direction: column;
    }
    .vpn-dashboard .pay-card__icons img {
        height: 20px;
    }
}
.d-none {
    display: none !important;
}
.vpn-dashboard .server-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vpn-dashboard .server-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.vpn-dashboard .server-card__flag {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.vpn-dashboard .server-card__title {
    flex: 1;
}
.vpn-dashboard .server-card__title h5 {
    margin: 0;
    font-size: 1.1rem;
    color: #0f172a;
}
.vpn-dashboard .server-card__location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}
.vpn-dashboard .server-card__location i {
    font-size: 0.85rem;
    color: #94a3b8;
}
.vpn-dashboard .server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.vpn-dashboard .server-status-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-flex;
}
.vpn-dashboard .server-status-pill.online {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
    animation: pulseGlow 2.4s infinite;
}
.vpn-dashboard .server-status-pill.pending {
    background: rgba(250, 204, 21, 0.2);
    color: #92400e;
}
.vpn-dashboard .server-status-pill.offline {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}
.vpn-dashboard .server-recommend {
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-weight: 600;
}
.vpn-dashboard .server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 0.85rem;
}
.vpn-dashboard .server-stats__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.1rem;
}
.vpn-dashboard .server-stats__icon {
    font-size: 1.2rem;
    color: #6366f1;
}
.vpn-dashboard .server-stats span {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.vpn-dashboard .server-stats strong {
    font-size: 1.1rem;
    color: #0f172a;
    display: block;
}
.vpn-dashboard .server-meter-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.vpn-dashboard .server-meter {
    --load: 5;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle at center, #fff 54%, transparent 55%),
        conic-gradient(#22c55e calc(var(--load) * 1%), #e2e8f0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 6px #fff;
}
.vpn-dashboard .server-meter__value {
    font-weight: 700;
    color: #0f172a;
    position: relative;
    z-index: 2;
}
.vpn-dashboard .server-meter__meta {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #475569;
}
.vpn-dashboard .server-card__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.vpn-dashboard .server-card__meta i {
    width: 1rem;
    color: #94a3b8;
}
.vpn-dashboard .server-card__extra {
    margin-top: 0.75rem;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
    70% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (max-width: 767px) {
    .vpn-dashboard .welcome-actions,
    .vpn-dashboard .panel-actions,
    .vpn-dashboard .callout-actions {
        flex-direction: column;
    }
    .vpn-dashboard .btn-primary,
    .vpn-dashboard .btn-outline,
    .vpn-dashboard .panel-outline {
        width: 100%;
    }
}
.brand-logo img {
    height: auto;
    width: auto;
    max-width: none;
}
@media (max-width: 575.98px) {
    .brand-logo img {
        max-width: 200px;
    }
}

.mobile-menu .nav-logo img {
    max-width: 260px;
    width: 70vw;
    height: auto;
}
@media (max-width: 575.98px) {
    .mobile-menu .nav-logo img {
        width: 180px;
    }
}

.footer-logo img {
    width: clamp(110px, 6vw, 160px);
    height: auto;
    max-width: 100%;
}
.footer-call .brand-logo img {
    width: clamp(90px, 5vw, 140px);
    height: auto;
}

.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.ui-btn--primary {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}
.ui-btn--secondary {
    background: #0f172a;
    color: #fff;
}
.ui-btn--outline {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.2);
    color: #0f172a;
}
.ui-btn--danger {
    background: #991b1b;
    color: #fff;
}
.ui-btn--sm { padding: 0.4rem 1rem; font-size: 0.875rem; }
.ui-btn--md { padding: 0.65rem 1.4rem; font-size: 0.95rem; }
.ui-btn--lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.ui-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}
.ui-btn__spinner,
.ui-loader__spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ui-spin 0.8s linear infinite;
}
.ui-btn--outline .ui-btn__spinner {
    border-color: rgba(15,23,42,0.3);
    border-top-color: #0f172a;
}

.form-alert {
    border-radius: 16px;
    padding: 0.85rem 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.form-alert--success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}
.form-alert--error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.ui-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
}
.ui-loader__label {
    font-weight: 600;
}

.empty-state {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    color: #475569;
    background: #fff;
}
.empty-state__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.empty-state h4 {
    margin-bottom: 0.5rem;
    color: #0f172a;
}
.empty-state p {
    margin-bottom: 1.25rem;
    color: #64748b;
}

@keyframes ui-spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.dashboard-shell__topbar {
    background: #030711;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard-shell__topbar .shell-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.dashboard-shell__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dashboard-shell__brand .brand-logo img {
    max-width: 150px;
    width: 100%;
    height: auto;
}
.dashboard-shell__brand span {
    font-size: 0.85rem;
}
.dashboard-shell__brand span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.dashboard-shell__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.dashboard-shell__burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
}
.dashboard-shell__layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}
.dashboard-shell__sidebar {
    background: #0b1220;
    color: #fff;
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 30px 60px rgba(5, 10, 30, 0.45);
    min-height: 200px;
}
.dashboard-shell__sidebar-head span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
}
.dashboard-shell__sidebar-head strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
    word-break: break-all;
}
.dashboard-shell__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.75rem;
}
.dashboard-shell__nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 18px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.dashboard-shell__nav a i {
    font-size: 1rem;
}
.dashboard-shell__nav a.active,
.dashboard-shell__nav a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.dashboard-shell__logout {
    margin-top: 2rem;
}
.dashboard-shell__logout button {
    width: 100%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.dashboard-shell__content {
    min-height: 400px;
}

@media (max-width: 1199px) {
    .dashboard-shell__layout {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 991px) {
    .dashboard-shell__layout {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    .dashboard-shell__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        z-index: 40;
    }
    .dashboard-shell__sidebar.is-open {
        transform: translateX(0);
    }
    .dashboard-shell__burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .dashboard-shell__overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.7);
        z-index: 30;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }
.dashboard-shell__overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
}

.payment-modal__dialog.config-modal {
    max-width: 720px;
}
.config-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.config-modal__code {
    background: #0d1021;
    color: #f5f5f5;
    border-radius: 16px;
    padding: 16px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-break: break-word;
}

.config-modal__qr {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.config-modal__qr img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(12, 12, 30, 0.25);
}

.config-modal__meta {
    list-style: none;
    margin: 0;
    padding: 0;
}
.config-modal__meta li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.config-modal__meta li:last-child {
    border-bottom: none;
}

.config-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.config-modal__actions .btn-primary,
.config-modal__actions .btn-outline {
    flex: 1 1 auto;
}
@media (max-width: 640px) {
    .config-modal__actions {
        flex-direction: column;
    }
    .config-modal__actions .btn-primary,
    .config-modal__actions .btn-outline {
        width: 100%;
        text-align: center;
    }
}
.downloads-copy {
    color: #0f172a !important;
}

/* Wallet components */
.vpn-dashboard .wallet-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #0f172a;
    color: #fff;
    border-radius: 32px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}
.vpn-dashboard .wallet-panel__balance {
    flex: 1 1 320px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.vpn-dashboard .wallet-panel__balance h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0.25rem 0;
}
.vpn-dashboard .wallet-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: right;
}
.vpn-dashboard .wallet-panel__activity {
    flex: 1 1 320px;
    background: rgba(15, 23, 42, 0.25);
    border-radius: 24px;
    padding: 1.25rem;
}
.vpn-dashboard .wallet-panel__activity-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}
.vpn-dashboard .wallet-panel__activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.vpn-dashboard .wallet-panel__activity-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    font-size: 0.95rem;
}
.vpn-dashboard .wallet-panel__activity-list strong {
    display: block;
    color: #fff;
}
.vpn-dashboard .wallet-panel__activity-list .muted {
    color: rgba(248, 250, 252, 0.75);
}
.vpn-dashboard .wallet-panel__activity .wallet-amount {
    font-weight: 600;
    font-size: 1rem;
}
.vpn-dashboard .wallet-panel .btn-primary {
    color: #0f172a;
    background: #fff;
    border-color: #fff;
}
.vpn-dashboard .wallet-panel .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}
.vpn-dashboard .wallet-panel .btn-link {
    color: rgba(248, 250, 252, 0.8);
}
.vpn-dashboard .wallet-panel__activity a {
    color: rgba(148, 163, 184, 0.9);
}
.wallet-inline-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.wallet-inline-balance {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.wallet-inline-balance strong {
    font-size: 1.5rem;
    color: #0f172a;
}
.wallet-topup-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.wallet-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: #0f172a;
}
.wallet-amount-input {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.wallet-amount-input input {
    flex: 1;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}
.wallet-amount-presets {
    display: flex;
    gap: 0.4rem;
}
.wallet-amount-presets button {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.4rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.wallet-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.wallet-methods label {
    display: flex;
    gap: 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 0.75rem 1rem;
    align-items: flex-start;
    cursor: pointer;
}
.wallet-methods input[type="radio"] {
    margin-top: 0.3rem;
    accent-color: #4f46e5;
}
.wallet-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.wallet-form-error {
    color: #dc2626;
    font-weight: 600;
}
.wallet-crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.wallet-copy-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.wallet-copy-row code {
    word-break: break-all;
}
.wallet-qr-box {
    border: 1px dashed #e2e8f0;
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
}
.hero-wallet {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.hero-wallet__actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.wallet-pay-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}
.wallet-pay-btn {
    min-height: 46px;
}
.wallet-history {
    margin-top: 2rem;
}
.wallet-history__table {
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    overflow: hidden;
}
.wallet-history__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.8fr 1fr 0.9fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.wallet-history__row--head {
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #94a3b8;
}
.wallet-history__row:last-child {
    border-bottom: none;
}
.wallet-history__meta {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
}
.wallet-description {
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
}
.wallet-history__amount {
    text-align: right;
}
.wallet-status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    font-weight: 600;
}
.wallet-status--muted {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
}
.wallet-history__pagination {
    margin-top: 1rem;
}
.hero-wallet .btn-primary,
.wallet-inline-actions .btn-primary {
    min-width: 180px;
}
@media (max-width: 992px) {
    .wallet-history__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wallet-history__amount {
        text-align: left;
    }
    .wallet-inline-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .vpn-dashboard .wallet-panel {
        padding: 1.5rem;
    }
}
@media (max-width: 600px) {
    .wallet-history__row {
        grid-template-columns: 1fr;
    }
}
